I'm using lftp 3.5.11 compiled with OpenSSL 0.9.7d on SLES 9 SP3 to make an FTPS connection to a server, and "put" a file. I'm running into a problem where sometimes it works and sometimes it creates dozens of 0-byte files. In some debugging with the customer, we've determined that after the STOR request to put the file, lftp *immediately* starts sending the data, rather than waiting for the "150 - File status okay; about to open data connection" message. This causes the server to drop the connection (it's receiving data before it's supposed to).
According to the customer, RFC 4217 says that the client (LFTP) should wait for the 150 response after a STOR request, before using the data channel. LFTP is not waiting. It doesn't seem to be affected by the auto-sync settings. Am I missing a setting somewhere? Any thoughts? Thanks. -- Sandy Freedom is the opportunity to take responsibility for your actions. I don't speak for anyone but myself, and sometimes not even that.
