Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-11-2004, 10:57 AM   #1
stefanoskj
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 14
Default on_release_complete

i used the command :
Code:
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
stefanoskj is offline   Reply With Quote
Old 10-23-2004, 08:03 AM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Have you tried:
Code:
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%\*
Harm is offline   Reply With Quote
Old 11-06-2004, 09:22 AM   #3
stefanoskj
Junior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 14
Default

for deletting file is ok

thanks harm



ciao stefano
stefanoskj is offline   Reply With Quote
Old 12-18-2004, 08:35 AM   #4
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

Quote:
Originally posted by Harm
Have you tried:
Code:
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?
durulink is offline   Reply With Quote
Old 12-19-2004, 01:23 PM   #5
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Could you explain what happens to you exactly ?
Harm is offline   Reply With Quote
Old 12-19-2004, 02:57 PM   #6
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

Code:
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.
durulink is offline   Reply With Quote
Old 12-19-2004, 03:46 PM   #7
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Or create a .bat file that extracts the files sent as arguments and *then* delete the rars.

Something like:
Code:
on_release_complete=start d:\ioFTPD\scripts\HideRun.exe extract.bat %FIRSTFILE% %DIR%
Code:
unrar.exe x -y %1% %2%
del /s /q %2%\*.r??
Harm is offline   Reply With Quote
Old 12-19-2004, 04:26 PM   #8
durulink
Senior Member
 
Join Date: Mar 2003
Posts: 102
Default

thank you very much. (--)(__)

but, not %1%, %2%
Code:
unrar.exe x -y %1 %2
del /s /q %2\*.r??
durulink is offline   Reply With Quote
Reply

Tags
/ftp/test, j%dirname%, jftptest, stefano, unrar

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
Long filenames mullbank General Discussion 2 11-12-2004 03:02 PM


All times are GMT -5. The time now is 05:46 PM.

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