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 01-15-2004, 09:29 AM   #1
Xn3t
Member
 
Join Date: Dec 2003
Posts: 50
Default stat.msg

hi ppl, one question.

How can i calculate free space between all hdds (C: E: G: H: I in general? for example, 2gb in C: + 9gb in E: + 114gb in G: + 6gb in H: + 1gb in I: = 132gb in total, then i want to appears in stat.msg.

Quote:

[Ul: %.1[allup(bytes)(mega)]MB] [Dl: %.1[alldn(bytes)(mega)]MB] [Speed: %.1[speed]Kb/s] [Free: %.1[free($path)(mega)]MB]
[Section: Default] [Credits: %.1[credits(mega)]MB] [Ratio: %[ratio]]

this is:

226-[Ul: 0.0MB] [Dl: 0.0MB] [Speed: 0.0Kb/s] [Free: 2000.0MB]
226 [Section: Default] [Credits: 0.0MB] [Ratio: Unlimited]


then in [Free: 2000.0MB] will be replaced for [Free: 132000.0MB]

( sorry for my english )

thx in advance!
Xn3t is offline   Reply With Quote
Old 01-15-2004, 04:53 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Not possible using the ioFTPD cookie system.

You could however make a script which would do this, and just use %[execute()] cookie in the message file to call the script.
neoxed is offline   Reply With Quote
Reply

Tags
0.0mb], [dl, [free, [ratio, [speed

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 12:11 AM.

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