Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Caladan's scripts

Caladan's scripts project-zs, sitewho

Reply
 
Thread Tools Rate Thread
Old 06-10-2006, 04:59 AM   #1
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 5
Default zip-missing

All .zip releases are marked as incomplete. I have checked the .sfv with and external sfv checker and it checks out allright.

I have gone thru config.h many many times. Made changes, moved stuff around and always the same error. If IoA rescan is used it says 100% but ProjectZS says 0%?

When uploading .rar archives it all works out great!?

TIA!

Included are a debug and config.h file.
Attached Files
File Type: zip pzs-probs.zip (8.1 KB, 22 views)
reg1 is offline   Reply With Quote
Old 06-10-2006, 08:26 AM   #2
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 5
Default

Maybe I should add that all files are tested ok like this:

[R] 226-.----=== Zipscript-C Win32 ===--by Caladan--=== (C) 2004 ===----.
[R] 226-| + SFV-file: oK! |

and

[R] 226-.----=== Zipscript-C Win32 ===--by Caladan--=== (C) 2004 ===----.
[R] 226-| + File: oK! |
reg1 is offline   Reply With Quote
Old 06-10-2006, 09:55 AM   #3
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 500
Default

Check folder permissions, could be that the ZS can't rename the incomplete tag.
EwarWoo is offline   Reply With Quote
Old 06-10-2006, 02:53 PM   #4
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 5
Default

Folder permissions are set to 777
reg1 is offline   Reply With Quote
Old 06-11-2006, 04:09 AM   #5
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

I'm not sure project-ZS expects a sfv file for zip files.
Code:
        if (!CheckForNoSfv(&locations))
        {
            debug_log("Zip Directory has a sfv inside!!!!\n");
            no_check = TRUE;
            break;
        }
The incomplete dirtag is probably created when the sfv file is uploaded. Then the dirtag isn't updated because it shouldn't be there.
Harm is offline   Reply With Quote
Old 06-13-2006, 02:00 AM   #6
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 5
Default

Thanks Harm,

I moved the path from zip_dirs to sfv_dirs but I get the same error?

Any ideas?
reg1 is offline   Reply With Quote
Old 06-13-2006, 04:00 AM   #7
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

This is because project-zs doesn't check the sfv when it receives a zip file. The only way to change this behaviour is to edit the source code and recompile.
Harm is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:45 PM.