View Full Version : Need a Zipscript
fL4sh.r0x
11-30-2005, 07:19 PM
Is there a zipscript that support this feature? :
i am uploading file, transfer brokes, then my client will try to re-upload, and when it *see* a that file in release dir (for example 3mb of 11mb), it skips it.
I want a zipscript that delete this incomplete file so uploader could re-upload it!
So i want to re-upload not resume!
Tnx :p
EwarWoo
11-30-2005, 10:12 PM
All zipscripts should support this, its part of the basic functionality, though they usually rename to filename.bad rather than deleting.
ioSFV allows you 3 options, delete the failed file, rename the failed file, or do nothing and allow resuming of the fail file
fL4sh.r0x
12-01-2005, 04:55 AM
Not all... i'm using iobanana 20 and when an upload brokes i see file (3mb of 11mb complete) and file.missing. I dont want to see that file! Zipscript must delete it!
fL4sh.r0x
12-01-2005, 04:58 AM
File .bad is when sfv is corrupted or file crc is different from sfv
EwarWoo
12-01-2005, 05:49 AM
If an upload brakes partway through its not gunna match the crc now is it ;)
The zs I use marks that bad anyways.
fL4sh.r0x
12-01-2005, 07:11 AM
How i can add a good zs with iobanana 20?
It will work with iobanana eggdrop announces too.
FYI, there's a setting in ioBanana.ini (for the really old versions) or ioCONFIG.itcl that allows you to choose whether or not you want to delete the bad files.
i think the point is Harm he wants to resume failed files, although ioB allows you to keep the broken files, does it allow resume?
as im sure your aware ioftpd will only pass the crc for the current upload, and if this is a resumed file, it will not pass the correct crc for the completed file (only the crc for the resumed part)
ioSFV since 2.0beta1.29 handles this just fine :)
ioBanana v20 supports resume. If I remember correctly this was first introduced around v12.
It's not the case of ioB2 yet though as it is a completely new development branch.
So i want to re-upload not resume!
Makes me wonder... :p
EwarWoo
12-01-2005, 04:56 PM
fl4sgh.r0x - there should be an event for OnUploadFailed or OnUploadError, cant remember which, but make sure this is in there and not editted out, thats the event that would kill broken uploads.
Thats assuming ioBanana works the same as other zipscripts.
fL4sh.r0x
12-01-2005, 06:50 PM
But u understand what i want? :S
When i'm uploading a file, transfer stopped cause any reasons. So i have in release folder a file (3mb of 11mb) and a .missing. K? Now my client "see" that file and not upload it. So i want that zs delete incomplete file when transfer broken and my client will upload it again!
Right?!
onuploaderror = TCL path\to\error.itcl
error.itcl:
set ioerror 1
return 1
man, every zipscript for io should have the ability to delete a failed crc file, ie your 3mb of 11mb file and simply leave the .missing
maybe you should spend some time configuring your zs correctly
fL4sh.r0x
12-02-2005, 05:17 AM
Tnx jeza... i've add ioERROR.itcl from ioB2release1 and now when upload file broken zs delete file!
:)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.