Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-30-2005, 10:43 AM   #1
flaxs
Junior Member
 
Join Date: Apr 2005
Posts: 3
Default show .msg file

Halo, there. I'm a Newbie

I just want to know how can i get this, when I use "list -al" :

[L] LIST -al
[L] 150 Opening ASCII mode data connection for directory listing.
[L] 226- [Ul: 0.0MB] [Dl: 26921.3MB] [Speed: 0.00K/s] [Free: 218998MB]
[L] 226 [Section: DEFAULT] [Credits: 394648.1MB] [Ratio: 1:3]

Does it just simply display a ".msg" file?

A ".msg" file like this?

[Section: %[$section]]-[Free: %.2[free($path)(giga)]GB]-[Ratio: %[ratio]]-[Speed: %.1[speed]kb/s]
[Credits: %.0[credits(mega)]MB]-[UL: %.2[allup(bytes)(giga)]GB]-[DL: %.2[alldn(bytes)(giga)]GB]


but how can I config ioFTPD.ini to show it after "list al"?
I try
[FTP_Pre-Command_Events]
list = !..\txt\ftp\stats.msg

but it doesn't work....


Can anyone help me?
flaxs is offline   Reply With Quote
Old 04-30-2005, 12:58 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

http://www.ioftpd.com/kb/view.php?kbid=70
neoxed is offline   Reply With Quote
Old 04-30-2005, 09:24 PM   #3
flaxs
Junior Member
 
Join Date: Apr 2005
Posts: 3
Default

Thanks NeoXed, but you didn't get me...

I don't mean show it after uploadcomplete, I want this show right after every "list -al"
flaxs is offline   Reply With Quote
Old 04-30-2005, 11:22 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

No, that is what you're looking for. Perhaps you should try it first before claiming otherwise.

When a client sends the traditional LIST command to retrieve a directory listing, the listing is received through a normal FTP data connection. The "TransferComplete" message is shown after each successful data transfer. So yes, this is what you’re looking for.

Some clients support control connection listing (STAT) which doesn’t require a data connection, instead the listing is received through the control channel. In this scenario, the "TransferComplete" message is not shown.
neoxed is offline   Reply With Quote
Old 05-01-2005, 01:02 AM   #5
flaxs
Junior Member
 
Join Date: Apr 2005
Posts: 3
Default

Oh, yes! It works!!!

Thank you, NeoXed!!

But could you tell me how to display a specified .msg file when sending a command like MKD, STOR, etc.

What should I do in ioFTPD.ini??
flaxs is offline   Reply With Quote
Reply

Tags
.msg, confused, file, list, [l]

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 05:18 PM.

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