VSFTPD can not close uploaded files

Discussion in 'HOWTO-Related Questions' started by rdmandel, Aug 1, 2008.

  1. rdmandel

    rdmandel New Member

    I have been running VSFTPD on Ubuntu for some time, and the problem persists. When I upload files of decent size to the server, the server does not seem to close or upload the file properly. Or at least it thinks it is not closed or uploaded properly, so after a bit, it tries again. Usually, it is successful after uploading another version of the file with an "_old" version. Does not happen with smallish files.

    Here is my conf file:

    Last edited: Aug 1, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    How big are these files?
    I have a similar "problem" when I upload virtual machines (at least 300MB) with WS_FTP to a ProFTPd server. At the end of the upload, I get something like "Blocking call cancelled" instead of a directory listing, but nevertheless the file was uploaded sucessfully, so I don't see this as a problem.
  3. rdmandel

    rdmandel New Member

    VSFTPD problem

    Guten tag Falko - Wie gehts?

    I do not get an error message. At the end of the upload of a file larger than 65 MB or so, it just seems to hang, doing nothing. After a minute or three it decides there was a problem, so it begins again and renames the old file "old" and tries again. Often it is successful after one or two re-tries, but this makes the upload of multiple files a real pain if one of the files is over that size.

    Oddly enough, when I break off the uploads and check the directory, the first file that the client said failed, actually made it ok.

    I know the problem so I can tolerate it for my own purposes, but when files come in from customers, the problem is too annoying for them to use my ftp.

    Using AceFTP Pro 3 as a client, but I have tried other clients and the results appear to be the same.
  4. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your logs?
    Have you tried other FTP servers such as ProFTPd or PureFTPd?
  5. rdmandel

    rdmandel New Member

    I have not tried other ftp servers.

    Log - Nothing too exciting in the logs. Perhaps some communication trouble on some commands from my client.

    But also regular time-outs, but then the command seemed to be executed.

    FTP command: Client "", "FEAT"
    FTP response: Client "", "211-Features:"
    FTP response: Client "", " EPRT??"
    FTP response: Client "", " EPSV??"
    FTP response: Client "", " MDTM??"
    FTP response: Client "", " PASV??"
    FTP response: Client "", " REST STREAM??"
    FTP response: Client "", " SIZE??"
    FTP response: Client "", " TVFS??"
    FTP response: Client "", "211 End"

    FTP response: Client "", " XPWD XRMD??"

    FTP command: Client "", "PWD"
    FTP response: Client "", "257 "/www/tt/guest""
    FTP command: Client "", "TYPE I"
    Sat FTP response: Client "", "200 Switching to Binary mode."
    FTP command: Client "", "PASV"
    Sat FTP response: Client "", "227 Entering Passive Mode (192,168,1,106,220,107)"
    FTP command: Client "", "STOR /www/tt/guest/AlbumDemoSetup.exe"
    11:17:51 FTP response: Client "", "150 Ok to send data."
    11:19:15 FTP response: Client "", "421 Timeout."
    11:20:07 OK UPLOAD: Client "",
  6. sayad

    sayad New Member

    vsftpd is giving some good offers.After numerous requests, I now have a PayPal button for donations. If you use vsftpd, like it, and think it's worthy of a donation, then click on the Paypal button on the left of the page.

Share This Page