FTP/SFTP connection and large files

I have added FTP user to an account and assign to that user shell /bin/sh so can connect using SFTP. I have tested connection with a small file but it comes that can’t upload anything bigger than 0.5GB.

I have tried to connect with root privileges and use SFTP to upload larger file (0.8GB) and I’m getting disconnected often with an error “Optimize connection buffer size”

/val/log/message looks like:

Sep 17 09:55:11 server06 proftpd[30911]: 10.38.30.20 (::ffff:96.233.206.91[::ffff:96.233.206.91]) - Client session idle timeout, disconnected Sep 17 09:55:11 server06 proftpd[30911]: 10.38.30.20 (::ffff:96.233.206.91[::ffff:96.233.206.91]) - FTP session closed. Sep 17 09:55:22 server06 proftpd[31432]: 10.38.30.20 (::ffff:96.233.206.91[::ffff:96.233.206.91]) - notice: user xyz.aabbcc: aborting transfer: Input/output error

Any clue what is going on with both issues?

Thanks

Howdy,

Hmm, it appears that the service in use here is actually ProFTPd, rather than SSH/SFTP.

Is your client configured to connect to port 22? It would need to connect to port 22 in order to use SFTP.

-Eric

Yes, he can connect through SFTP (port 22) and start to upload file but after few seconds connection is dropping and makes timeout.

The errors in the logs you mentioned above were ProFTPd errors… do you see any SSH related errors in the logfiles when that occurs?

-Eric