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 01-22-2004, 05:57 AM   #1
Ne6O
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 5
Lightbulb autounrar+autodel rar files after a complete upload

Is this possible to do a script to unrar files when a upload is completed (with SFV checking) automatically?

And after, delete all rar files when unrar is completed always automatically.

I know ioZS can unrar files when upload is completed but he don't delete these rar files.

Anyone ready to script it ? :P
Ne6O is offline   Reply With Quote
Old 01-22-2004, 06:11 AM   #2
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

i think u can do it with a simple .bat file..
rAWfOX is offline   Reply With Quote
Old 01-22-2004, 12:17 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

I dunno about ioZS, but ioBanana can unrar for sure, u just execute a command... u could as well del files later on if u add "| cmd_here"

I think winrar have a switch to del source files after it was successfully extracted. Just run winrar (dos one) in dos prompt and ull get all possible switches
wooolF[RM] is offline   Reply With Quote
Old 01-22-2004, 05:18 PM   #4
Ne6O
Junior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 5
Default

k thx for your help !
Ne6O is offline   Reply With Quote
Old 01-22-2004, 05:45 PM   #5
NorLan
Senior Member
 
Join Date: Sep 2003
Posts: 110
Default

hi

this is the way i do it

i copied the unrar.exe from winrar to scripts
then i made a unrar.bat with these lines

@echo off
echo !buffer off
md %path%\Extracted-"%date%"
start e:\ioFTPD\scripts\hiderun.exe e:\ioFTPD\scripts\unrar.exe e -y %path%\*.rar %path%\Extracted-"%date%"\

well - the hiderun.exe is just to hide the task it is not necessary .. drawback is you don't see how long the extracting process needs .. if you want to see this
just type in e:\ioFTPD\scripts\unrar.exe e -y %path%\*.rar %path%\Extracted-"%date%"\ without the start and the hiderun

all you have to do now is to start this bat after downloadcomplete or on your own with the site command etc...

with this you get a dir like Extracted-"date" within your release folder which includes the extracted files. very usefull when the original release is downloaded from others - they just skip all folder with the string "extracted"


-- never tried it with releases which are zipped but i think this could also be managed with some modifications...
NorLan is offline   Reply With Quote
Old 01-22-2004, 08:58 PM   #6
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

I'm not 100% sure but does ioFTPD still "work" as it should when finished release is getting unarchived? or it's just hanging waiting until that bat file is done?

not cause I need it, just wondering
wooolF[RM] is offline   Reply With Quote
Old 01-23-2004, 03:04 AM   #7
NorLan
Senior Member
 
Join Date: Sep 2003
Posts: 110
Default

io isn't hanging if you use start hiderun ...
io just starts a new process - unrar

i use this for those who want the unrared release
they but a file skip *.r* so they wont load the rars.

it is just a service cause many user want this feature - the sence is ?hmmmmm?
NorLan is offline   Reply With Quote
Old 01-23-2004, 10:56 AM   #8
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

yeh, weird people
thnx for the answer

when I've asked u that question I kinda thought u needed exit 0 at the end of the bat... but if u say it works 100%
wooolF[RM] is offline   Reply With Quote
Old 02-02-2004, 07:30 AM   #9
zx-
Junior Member
 
Join Date: Jan 2004
Posts: 3
Default

hello is possible sends me hiderun.exe
zx- is offline   Reply With Quote
Old 02-02-2004, 10:31 AM   #10
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

next time try teh powerfull thingy called Google
wooolF[RM] is offline   Reply With Quote
Old 02-02-2004, 11:34 AM   #11
zx-
Junior Member
 
Join Date: Jan 2004
Posts: 3
Wink

thx is perfect
zx- is offline   Reply With Quote
Old 02-03-2004, 04:52 AM   #12
zx-
Junior Member
 
Join Date: Jan 2004
Posts: 3
Default

autounrar is perfect ..
is possible delete all rar files when unrar is completed always automatically ?
thx
zx- is offline   Reply With Quote
Old 02-03-2004, 09:59 AM   #13
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

read 3rd post in this thread...
wooolF[RM] is offline   Reply With Quote
Reply

Tags
completed, files, rar, unrar, upload

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloads keep stopping xboxbob General Discussion 2 03-27-2005 01:33 AM


All times are GMT -5. The time now is 04:25 PM.

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