FTP/SFTP connection and large files

4 posts / 0 new
Last post
#1 Wed, 09/17/2014 - 09:40
Interact

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

Wed, 09/17/2014 - 10:04
andreychek

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

Wed, 09/17/2014 - 10:07 (Reply to #2)
Interact

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

Wed, 09/17/2014 - 11:57
andreychek

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

Topic locked