Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-30-2005, 07:19 PM   #1
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default Need a Zipscript

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
fL4sh.r0x is offline   Reply With Quote
Old 11-30-2005, 10:12 PM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

All zipscripts should support this, its part of the basic functionality, though they usually rename to filename.bad rather than deleting.
EwarWoo is offline   Reply With Quote
Old 12-01-2005, 02:11 AM   #3
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

ioSFV allows you 3 options, delete the failed file, rename the failed file, or do nothing and allow resuming of the fail file
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 12-01-2005, 04:55 AM   #4
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default

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 is offline   Reply With Quote
Old 12-01-2005, 04:58 AM   #5
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default

File .bad is when sfv is corrupted or file crc is different from sfv
fL4sh.r0x is offline   Reply With Quote
Old 12-01-2005, 05:49 AM   #6
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

If an upload brakes partway through its not gunna match the crc now is it
The zs I use marks that bad anyways.
EwarWoo is offline   Reply With Quote
Old 12-01-2005, 07:11 AM   #7
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default

How i can add a good zs with iobanana 20?
It will work with iobanana eggdrop announces too.
fL4sh.r0x is offline   Reply With Quote
Old 12-01-2005, 03:06 PM   #8
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

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.
Harm is offline   Reply With Quote
Old 12-01-2005, 03:13 PM   #9
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

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
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 12-01-2005, 03:48 PM   #10
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

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.

Quote:
Originally Posted by fL4sh.r0x
So i want to re-upload not resume!
Makes me wonder...
Harm is offline   Reply With Quote
Old 12-01-2005, 03:51 PM   #11
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

lol
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 12-01-2005, 04:56 PM   #12
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

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.
EwarWoo is offline   Reply With Quote
Old 12-01-2005, 06:50 PM   #13
fL4sh.r0x
Member
ioFTPD Foundation User
 
fL4sh.r0x's Avatar
 
Join Date: Sep 2005
Posts: 32
Default

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?!
fL4sh.r0x is offline   Reply With Quote
Old 12-02-2005, 01:45 AM   #14
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

onuploaderror = TCL path\to\error.itcl

error.itcl:
set ioerror 1
return 1
jeza is offline   Reply With Quote
Old 12-02-2005, 05:06 AM   #15
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

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
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Reply

Tags
11mb, file, re-upload, skips, zipscript

Thread Tools
Display Modes 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

Forum Jump


All times are GMT -5. The time now is 03:22 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)