Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-28-2003, 03:55 PM   #1
ThomasH
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 30
Default Minor bug in msg parsing

Using the syntax from the Welcome message, I tried adding freespace info to my master.welcome.msg file, but it was not parsed correctly:

Entry in either file:

D1: %.2[free(g:\)(giga)]GB of 40GB

Output from welcome.msg:

230-D1: 11.54GB of 40GB

Output from master.welcome.msg:
230-D1: %.2[free(g:\)(giga)]GB of 40GB


I'm using this include statement in my welcome.msg file:
%[include(..\text\ftp\master.welcome.msg)(1)]

I hope you can reproduce/fix.
I'm currently running 5.2.10r version, but I discovered this bug already in version 5.1.17r

Thanx for a nice product.



/Thomas
ThomasH is offline   Reply With Quote
Old 10-28-2003, 03:58 PM   #2
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

It's by design. Include doesn't translate cookies. It's to prevent endless loops and stuff.
Zer0Racer is offline   Reply With Quote
Old 10-28-2003, 04:26 PM   #3
ThomasH
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 30
Default

Hmm, I see.

Is there any way to do a remaining space on current disk, when changing virtual directory?

So it will show how much space is left in that section of the FTP-filesystem?


/Thomas
ThomasH is offline   Reply With Quote
Old 10-28-2003, 04:59 PM   #4
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

You could add something like this in your text/ftp/stat.msg
Code:
[Free: %.1[free($path)(giga)]GB]
Zer0Racer is offline   Reply With Quote
Old 10-29-2003, 01:51 PM   #5
ThomasH
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 30
Default

Thanx,

Is there any way to have different (and parsed) loginscripts based on the users group?
Or can this only be done according to the users flag (and no parsing) ?

Regards
Thomas
ThomasH is offline   Reply With Quote
Reply

Tags
40gb, file, master.welcome.msg, version, welcome.msg

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
site change ratio suggestion Lunatik Suggestions 3 02-13-2003 09:14 PM


All times are GMT -5. The time now is 08:11 AM.

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