Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-06-2007, 11:23 PM   #1
LiSTiC
Junior Member
FlashFXP Registered User
 
Join Date: Mar 2007
Location: Denmark
Posts: 15
Question Display order for Welcome message

Tricky topic, I know

I was wondering if it was possible to change the order for when the Welcome message is displayed, now it looks like this:

Quote:
[R] 331 Password required for *user*.
[R] PASS (hidden)
[R] 230-"Welcome msg".
[R] 230 User *user* logged in.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extensions supported:
[R] AUTH TLS
[R] AUTH SSL
[R] PROT
[R] PBSZ
[R] SSCN
[R] CPSV
[R] SIZE
[R] LIST -1aAdlRTs
[R] STAT -1aAdlT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS filename
[R] 211 END
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PROT P
[R] 200 Protection set to: Private.
[R] PASV
[R] 227 Entering Passive Mode (*)
[R] Opening data connection IP: *.*.*.* PORT: *
[R] LIST -al
[R] Connected. Negotiating SSL session..
[R] 150 Opening ASCII mode data connection for directory listing.
[R] SSL negotiation successful...
[R] SSL encrypted session using cipher RC4-MD5 (128 bits)
[R] 226-[UL: 0.0GB] [DL: 0.0GB] [Speed: 0.0KB/s] [Free: 481683MB]
[R] 226 [Section: Default] [Credits: 0.0MB] [Ratio: Unlimited]
[R] List Complete: 1 KB in 2,45 seconds (0,5 KB/s)
So that the welcome message would be shown later, so users don't have to scroll up to see that they're welcome...

Its not that big a problem, but if anyone can help I would appreciate it
LiSTiC is offline   Reply With Quote
Old 07-07-2007, 11:39 AM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

If you look closely the welcome message comes immediately after a successful password entry. The rest of the stuff is in response to client commands (i.e. syst, feat, pwd, ...).

There just really isn't a better place to put it since there is no requirement clients send any of those commands... The best suggestion I have is to use a bunch of blank lines, or some ascii art to make the welcome message hard to miss as it scrolls past
Yil is offline   Reply With Quote
Old 07-07-2007, 08:08 PM   #3
LiSTiC
Junior Member
FlashFXP Registered User
 
Join Date: Mar 2007
Location: Denmark
Posts: 15
Default

Okay, I'll try with some spaces, Thanks Yil
LiSTiC is offline   Reply With Quote
Old 07-09-2007, 10:32 AM   #4
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

a simple POST FEAT script could do this
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 07-09-2007, 02:23 PM   #5
LiSTiC
Junior Member
FlashFXP Registered User
 
Join Date: Mar 2007
Location: Denmark
Posts: 15
Default

When you say simple, is it for a scripter or a normal user of ioFTPD (such as myself )?
LiSTiC is offline   Reply With Quote
Old 07-10-2007, 06:45 AM   #6
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

well, text files are easy to display in io, simply add a POST FEAT event to your ioftpd.ini and let it display the welcome text, rename the original welcome text to something else so io wont find it, therefore it wont display it after pass

remember though, FEAT is a client request, it aint default by all means, so anyone that doesnt send a FEAT command at login, wont see your new welcome.
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 07-10-2007, 09:30 PM   #7
LiSTiC
Junior Member
FlashFXP Registered User
 
Join Date: Mar 2007
Location: Denmark
Posts: 15
Default

Alright thanks I will give it a try
LiSTiC is offline   Reply With Quote
Reply

Tags
list, message, ssl, type, [r]

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 07:31 PM.

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