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 06-01-2004, 04:42 PM   #1
nicolay
Junior Member
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 16
Default [Filled] Unrar on release complete.

Any way to have a release automaticly unrared to a certain local location on release complete (sfv check 100% complete)?
nicolay is offline   Reply With Quote
Old 06-01-2004, 04:47 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Well it's zipscript dependent, and since you didn't mention which scripts you're using, I'm not sure. You can probably find your answer searching the forums, there's been a several threads about this in the past.
neoxed is offline   Reply With Quote
Old 06-01-2004, 04:51 PM   #3
Adictojuego
Junior Member
ioFTPD Foundation User
 
Join Date: May 2004
Posts: 5
Default

In ioFTPD's ini, in events, there you can try to execute unrar.exe to unrar the files.
Code:
OnUploadComplete = EXEC ..\unrar.exe x -r -v -y *.rar
maybe something like this would work


Edit: It would not work
Adictojuego is offline   Reply With Quote
Old 06-01-2004, 06:07 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

If it's a multi-volume RAR archive, you can't unrar it until you have all the volumes. So no that would not work Adictojuego.
neoxed is offline   Reply With Quote
Old 06-02-2004, 10:26 AM   #5
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Why don't you try ioBanana on_release_complete event ?

From the default ioBanana.ini:
Quote:
# Example 1: on_release_complete=md %DIR%\Extracted | start c:\ioFTPD\scripts\HideRun.exe c:\ioFTPD\scripts\unrar.exe x -y %FIRSTFILE% %DIR%\Extracted
# Example 2: on_release_complete=md c:\ioFTPD\site\Extracted\%DIRNAME% | start c:\ioFTPD\scripts\HideRun.exe c:\ioFTPD\scripts\unrar.exe x %FIRSTFILE% c:\ioFTPD\site\Extracted\%DIRNAME%
Harm is offline   Reply With Quote
Old 06-02-2004, 07:23 PM   #6
nicolay
Junior Member
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 16
Default

Sounds like a good solution, although a script would be neat, where you could choose what dirs/sections to unrar on complete, or exclude_dirs from beeing processed.
nicolay is offline   Reply With Quote
Reply

Tags
check, complete, local, location, release

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 10:47 PM.

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