November 4, 20196 yr Hello, I have upgraded from Debian Stretch to Buster and since then there seems to be an issue with ProFTP as I can´t upload any files larger than 12kb. Above this value it fails close to the end. Can anyone confirm this as well? I set the DebugLevel of ProFTp to 10 but there seems to be no error. Further I tried a different FTP-client (Filezilla in binary mode) and compared the original file with the transferred file. It turns out that the transferred file was saved with UNIX line endings (LF) and the original was DOS/-Windows (CR-LF). So now I search for an idea what to investigate next or an idea if the problem is on the side of the client or the server. Regards, Af0x
November 5, 20196 yr 9 hours ago, Afox said: I set the DebugLevel of ProFTp to 10 but there seems to be no error. So, show us the logs? What might seem to be meaningless to you might be crutial and the solution. Very simple question: your disk is not full is it? Or anything quota related? Line ending should not be any kind of problem regarding uploading
November 5, 20196 yr Author yes, sure: Quote dispatching POST_CMD command 'LIST -a' to mod_exec dispatching POST_CMD command 'LIST -a' to mod_sql dispatching POST_CMD command 'LIST -a' to mod_ratio dispatching LOG_CMD command 'LIST -a' to mod_sql dispatching LOG_CMD command 'LIST -a' to mod_log dispatching LOG_CMD command 'LIST -a' to mod_ls dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_exec dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_rewrite dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_tls dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_core dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_core dispatching PRE_CMD command 'CWD /Testfile.jpg' to mod_ratio dispatching CMD command 'CWD /Testfile.jpg' to mod_ratio dispatching CMD command 'CWD /Testfile.jpg' to mod_core dispatching POST_CMD_ERR command 'CWD /Testfile.jpg' to mod_exec dispatching POST_CMD_ERR command 'CWD /Testfile.jpg' to mod_sql dispatching LOG_CMD_ERR command 'CWD /Testfile.jpg' to mod_sql dispatching LOG_CMD_ERR command 'CWD /Testfile.jpg' to mod_log dispatching PRE_CMD command 'SIZE /Testfile.jpg' to mod_exec dispatching PRE_CMD command 'SIZE /Testfile.jpg' to mod_rewrite dispatching PRE_CMD command 'SIZE /Testfile.jpg' to mod_tls dispatching PRE_CMD command 'SIZE /Testfile.jpg' to mod_core dispatching PRE_CMD command 'SIZE /Testfile.jpg' to mod_core dispatching CMD command 'SIZE /Testfile.jpg' to mod_core dispatching POST_CMD_ERR command 'SIZE /Testfile.jpg' to mod_exec dispatching POST_CMD_ERR command 'SIZE /Testfile.jpg' to mod_sql dispatching LOG_CMD_ERR command 'SIZE /Testfile.jpg' to mod_sql dispatching LOG_CMD_ERR command 'SIZE /Testfile.jpg' to mod_log dispatching PRE_CMD command 'PASV' to mod_exec dispatching PRE_CMD command 'PASV' to mod_rewrite dispatching PRE_CMD command 'PASV' to mod_tls dispatching PRE_CMD command 'PASV' to mod_core dispatching PRE_CMD command 'PASV' to mod_core dispatching CMD command 'PASV' to mod_core in dir_check_full(): path = '/', fullpath = '/path/to/customer/' Entering Passive Mode (10,10,10,10,255,253). dispatching POST_CMD command 'PASV' to mod_exec dispatching POST_CMD command 'PASV' to mod_sql dispatching LOG_CMD command 'PASV' to mod_sql dispatching LOG_CMD command 'PASV' to mod_log dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_exec dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_rewrite dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_tls dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_core dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_core dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_ratio dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_quotatab dispatching PRE_CMD command 'STOR /Testfile.jpg' to mod_xfer in dir_check_full(): path = '/Testfile.jpg', fullpath = '/path/to/customer/Testfile.jpg' in dir_check_full(): setting umask to 0022 (was 0022) dispatching CMD command 'STOR /Testfile.jpg' to mod_xfer passive data connection opened - local : 10.10.10.10:65533 passive data connection opened - remote : 10.10.10.20:59996 Transfer aborted after 4357888 bytes in 3.62 seconds notice: user customer: aborting transfer: Link to file server lost dispatching POST_CMD_ERR command 'STOR /Testfile.jpg' to mod_exec dispatching POST_CMD_ERR command 'STOR /Testfile.jpg' to mod_sql dispatching POST_CMD_ERR command 'STOR /Testfile.jpg' to mod_quotatab dispatching LOG_CMD_ERR command 'STOR /Testfile.jpg' to mod_sql dispatching LOG_CMD_ERR command 'STOR /Testfile.jpg' to mod_log dispatching LOG_CMD_ERR command 'STOR /Testfile.jpg' to mod_xfer Disk space should not be an issue as the transfer is successful with SFTP. I didn´t change anything regarding quota.
November 5, 20196 yr 7 minutes ago, Afox said: notice: user customer: aborting transfer: Link to file server lost Also your IP's tell me you are using some private networking there?! Whats the setup? Hard to help without knowing all the facts
November 5, 20196 yr Author I changed the IPs. It seems more users have this issue: https://github.com/proftpd/proftpd/issues/668 Some users write downgrading can be a solution. I will try if I figure out how ^^ Edit: I tried and quit as there were dependencies like mariadb for the proftpd-mysql package. Edited November 5, 20196 yr by Afox
November 5, 20196 yr Author Further investigation shows it must be an issue with TLS as the unencrypted transfer succeeds. Before I had the option "TLSRequired" set to "on" and now commented it out.
Archived
This topic is now archived and is closed to further replies.