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 04-05-2011, 07:11 AM   #1
joppiesaus
Junior Member
 
Join Date: Jan 2010
Posts: 6
Default Site stat

Can the "SITE STAT" function be implemented in a new release? The output is already in ioftpd after the LIST command is sent:

[2] LIST
[2] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[2] 226-[ Section: Default ] [ Ratio: 1:3 ] [ Credits: 1.01 GB ]
[2] 226 [ UL: 1.01 GB ] [ DL: 1.01 GB ] [ Speed: 445 KB/Sec ] [ Free: 1.01 GB ]
[2] List Complete: 8,733 bytes in 0.02 seconds (545.81KB/s)

The "SITE STAT" command would return:

[2] SITE STAT
[2] 226-[ Section: Default ] [ Ratio: 1:3 ] [ Credits: 1.01 GB ]
[2] 226 [ UL: 1.01 GB ] [ DL: 1.01 GB ] [ Speed: 445 KB/Sec ] [ Free: 1.01 GB ]

Thanks
joppiesaus is offline   Reply With Quote
Old 04-05-2011, 07:20 AM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

I probably should add support for this in the standard distribution, but you can add this "command" to your server in 5 seconds

[FTP_Custom_Commands]
stat = !..\text\ftp\TransferComplete


[FTP_SITE_Permissions]
stat = *


Enjoy!
Yil is offline   Reply With Quote
Old 04-05-2011, 07:28 AM   #3
joppiesaus
Junior Member
 
Join Date: Jan 2010
Posts: 6
Default

Thanks Yil!
joppiesaus is offline   Reply With Quote
Reply

Tags
1.01, list, site, stat, [2]

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 06:05 AM.

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