View Single Post
Old 12-06-2003, 03:40 AM  
bounty
Senior Member
 
Join Date: Aug 2002
Posts: 529
Default Re: incomplete uploads are dups?

Quote:
Originally posted by lev
Really great work!

With newdir 3.2.0 when an upload is interupted, the file name still gets added to to dupelog & the resume upload attempt is rejected as a dupe.

How can I avoid this?
well in your ioftpd.ini
The order of your OnUploadComplete (in events) is very important

my looks like this:
OnUploadComplete = TCL ..\scripts\nfourl.itcl
OnUploadComplete = EXEC ..\scripts\ioZS\ioZS.exe Upload
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl

if you put newdir line before the zipscript line i think it will add the file in the dupe log and will block it next time you try to resume

i'll see if i can add a sanity check with OnUploadError trigger

have fun
bounty
bounty is offline   Reply With Quote