Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Thread Tools Rate Thread Display Modes
Old 11-27-2004, 08:05 AM   #1
Junior Member
Join Date: Oct 2004
Posts: 7
Default [REQ] rar script

Hi Im looking for someone who either can help me or proably do this for me.

On my ioftpd server I got these files that can be compressed in the very small pices of the original size. So im looking for some kind of script who can archive(rar) these files with highest compression on winrar (-m5).
I thought I could do this myself but I run into a block who I cant get thru.

First I did a simple bat file that did following:
@start c:\program\winrar\rar.exe a -m5 filename.rar *.file
This bat file does what Im looking for except that It compress all the .files's. Im looking for a way to only compress a ceartain file, like say for example: mydocument.file. So to execute this bat file doesnt help me.

Is there any easy way to make such script that compresses a whatever file with RAR.exe with a simple cmd from ioftpd, like: site rar mydocument.file
Wich will compress this file -> mydocument.rar
offline is offline   Reply With Quote
Old 11-28-2004, 11:05 AM   #2
Join Date: Feb 2004
Posts: 19

put rar.exe in ioftpd system dir (with ioftpd.exe)

then you can just do:

site exec rar.exe -m5 files.rar your.file

or put an itcl on scheduler:

catch {exec -- c:/ioftpd/ioftpd/scripts/rar.exe -m5 filename.rar your.file}
or whatever..
bizniz is offline   Reply With Quote

bat, compress, file, files, script

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
Download grinding to a halt bruceh General Discussion 6 09-07-2004 08:29 AM

All times are GMT -5. The time now is 09:35 AM.

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