View Full Version : [Filled] Unrar on release complete.
nicolay
06-01-2004, 04:42 PM
Any way to have a release automaticly unrared to a certain local location on release complete (sfv check 100% complete)?
neoxed
06-01-2004, 04:47 PM
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.
Adictojuego
06-01-2004, 04:51 PM
In ioFTPD's ini, in events, there you can try to execute unrar.exe to unrar the files.
OnUploadComplete = EXEC ..\unrar.exe x -r -v -y *.rar
maybe something like this would work :rolleyes:
Edit: It would not work :(
neoxed
06-01-2004, 06:07 PM
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.
Why don't you try ioBanana on_release_complete event ?
From the default ioBanana.ini:
# 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%
nicolay
06-02-2004, 07:23 PM
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.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.