Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ProFTP: Uploading files larger than 12kb fail

Featured Replies

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

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

  • 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.

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 

  • 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 by Afox

  • 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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.