Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-16-2011, 07:16 AM   #1
_gordon_
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default site stats allup/alldn size

can you tell me what to modify or how to set this output to GB or auto if possible?

i think its in MB by default.

(using latest io)
ty
_gordon_ is offline   Reply With Quote
Old 06-16-2011, 03:45 PM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Do you run FlashFXP or another ANSI color supporting FTP client? If so, then the coolest thing you can do is turn on color/theme support. Use 'site color' to see if you can see colors, etc, and view the list of themes. For Flash v4+ use themes 5-8 as the normal colors are too dim. Theme support turns almost all fixed KB/MB/etc output into 3 digit auto-sized output so you get 123KB, 1.23MB, 40.2GB, etc and each has it's own color to make TB stand out from KB, etc. It's really nice!

If you don't have a client that supports themes, you can edit the message file directly so that it affects everyone, or create a new theme that doesn't use colors, but does specify how the output should be shown for numbers. So far as I know nobody has actually created a theme but me, so no clue how tricky someone would find it to be. I'd probably skip this option unless you want to do other things with the output.

However editing the cookie in the file directly is simple. Open up text/ftp/AllUp.Body and replace the *mega with *giga for answers in giga all the time, or *automb to auto select the size with the minimum size being MB. For a full list of size specifiers check out doc/Cookies.txt and find the *SIZE* field description near the end. You'll probably want to change AllDown, etc as well.

I'll warn you that all the theme support cookies in the text/ftp/* files makes it look like a complete mess and hard to edit (we really could use a GUI editor!) but the above format change is pretty simple and the stat body files don't have any really tricky stuff.
Yil is offline   Reply With Quote
Reply

Tags
auto, default, latest, output, size

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:53 AM.

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