medent
asked on
Vsftpd "put" verbosity
Hi I switched from wuftpd to vsftpd and now notice when I do a "put" it does not show the file name included with the "150" respose code. This creates some issues for the various entities that connect to my server - depending on how they have scripted their transfers.
Is there a way to show more info with 150 response code after a "put"?
For exmple, here is the old (wuftpd) 150 get response (which I like):
ftp> put snapshot.log
local: snapshot.log remote: snapshot.log
227 Entering Passive Mode (192,168,99,4,225,208)
150 Opening BINARY mode data connection for snapshot.log.
226 Transfer complete.
22424 bytes sent in 0.000705 secs (3.1e+04 Kbytes/sec)
And Here is the new (vsftpd)
ftp> put snapshot.log
local: snapshot.log remote: snapshot.log
227 Entering Passive Mode (192,168,99,1,203,53)
150 Ok to send data. <--- no file name !!!
226 File receive OK.
21848 bytes sent in 3.8e-05 secs (5.6e+05 Kbytes/sec)
ftp>
Is there a way to show more info with 150 response code after a "put"?
For exmple, here is the old (wuftpd) 150 get response (which I like):
ftp> put snapshot.log
local: snapshot.log remote: snapshot.log
227 Entering Passive Mode (192,168,99,4,225,208)
150 Opening BINARY mode data connection for snapshot.log.
226 Transfer complete.
22424 bytes sent in 0.000705 secs (3.1e+04 Kbytes/sec)
And Here is the new (vsftpd)
ftp> put snapshot.log
local: snapshot.log remote: snapshot.log
227 Entering Passive Mode (192,168,99,1,203,53)
150 Ok to send data. <--- no file name !!!
226 File receive OK.
21848 bytes sent in 3.8e-05 secs (5.6e+05 Kbytes/sec)
ftp>
ASKER
Thanks but I do not need more logging on my end, just the the ftp clients who are connecting to me want the "150" message changes back to the way it was...
ie.
150 Opening BINARY mode data connection for snapshot.log.
ie.
150 Opening BINARY mode data connection for snapshot.log.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
log_ftp_protocol
When enabled, all FTP requests and responses are logged, providing the option xferlog_std_format is not enabled. Useful for debugging.
Default: NO