[Webinar] Streamline your web hosting managementRegister Today


Vsftpd "put" verbosity

Posted on 2008-02-11
Medium Priority
Last Modified: 2013-12-16
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)
Question by:medent
  • 2

Expert Comment

ID: 20870940
if you're ok with logs you could enable the following option in your server:

    When enabled, all FTP requests and responses are logged, providing the option xferlog_std_format is not enabled. Useful for debugging.

    Default: NO

Author Comment

ID: 20873925
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...

150 Opening BINARY mode data connection for snapshot.log.


Accepted Solution

mjutras earned 1500 total points
ID: 20902473
In fact it really depend on the ftp server you are using, some are adding more detailed messages.

This is coded in the ftp server itself so if you want to have the filename shown in the 150 message you will have to change the source code of your ftp server.

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question