View Full Version : [Fixed] on_release_complete
stefanoskj
10-11-2004, 10:57 AM
i used the command :
on_release_complete=md J:\%DIRNAME% | start c:\ioFTPD\scripts\winrar\winrar.exe e %FIRSTFILE% *.* J:\%DIRNAME%
but i want :
1) unrar in the same path into I:
Es : folder in /ftp/test/ must be unrar in J:\ftp\test not in J:\test
2) delette all file
It's possible ?
thx for all
stefano
Have you tried:
on_release_complete=md I:\ftp\%DIRNAME% | start C:\ioFTPD\scripts\HideRun.exe C:\ioFTPD\scripts\UnRAR.exe e %FIRSTFILE% *.* I:\ftp\%DIRNAME% | del /s /q %DIR%\*
stefanoskj
11-06-2004, 09:22 AM
for deletting file is ok
thanks harm
ciao stefano
durulink
12-18-2004, 08:35 AM
Originally posted by Harm
Have you tried:
on_release_complete=md I:\ftp\%DIRNAME% | start C:\ioFTPD\scripts\HideRun.exe C:\ioFTPD\scripts\UnRAR.exe e %FIRSTFILE% *.* I:\ftp\%DIRNAME% | del /s /q %DIR%\*
How do i prevent rar files from deleting before unrar complete?
Could you explain what happens to you exactly ?
durulink
12-19-2004, 02:57 PM
first
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe unrar.exe e %FIRSTFILE% *.* %DIR%
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe unrar.exe x [-y] %FIRSTFILE% %DIR%
second
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe unrar.exe e %FIRSTFILE% *.* %DIR% | del /s /q %DIR%\*.r??
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe unrar.exe x [-y] %FIRSTFILE% %DIR% | del /s /q %DIR%\*.r??
first setting, extract correctly.
but second, dont extract with deleting files *.r??
in my opinion,
during unrar somethings, del command delete those files.
so, unrar failed. :(:(
i think method of solving the problem is delay deleting files while UNRAR extract rars.
or after extracting completely, delete others files by unRAR options if it had such a options...
sorry, poor english.
Or create a .bat file that extracts the files sent as arguments and *then* delete the rars.
Something like:
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe extract.bat %FIRSTFILE% %DIR%
unrar.exe x -y %1% %2%
del /s /q %2%\*.r??
durulink
12-19-2004, 04:26 PM
thank you very much. (--)(__)
but, not %1%, %2%
unrar.exe x -y %1 %2
del /s /q %2\*.r??
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.