Does SFTP put operation have size limit?

1

I use SFTP to transfer file from local to remote Linux machine. However it fails. I tested it and come to a conclusion that, when transfer file is bigger than testScp.txt1, it fails and the machine will also be down; when transfer file is less than testScp.txt3 it is ok! Why ?

testScp.txt1  fileSize: 18944 
testScp.txt3  fileSize: 18228 

sftp> put testScp.txt3 /home/yqiu
Uploading testScp.txt3 to /home/yqiu/testScp.txt3
testScp.txt3                100%   18KB  17.8KB/s   00:00

sftp> put testScp.txt1 /home/yqiu
Uploading testScp.txt1 to /home/yqiu/testScp.txt1
testScp.txt1                0%    0     0.0KB/s   --:-- ETA

user342529

Posted 2014-07-09T08:22:45.460

Reputation: 19

There's definitely no limit. Does it fail with some error message or does it stall? – Martin Prikryl – 2014-07-09T12:45:42.763

no message but install and network is down, must reboot machine – user342529 – 2014-07-10T01:49:53.103

Answers

0

Most Linux systems use OpenSSH, which doesn't even have a way to configure size limits for file transfers. The intermittent failures which you're experiencing may be triggered by something else or completely random.

Kenster

Posted 2014-07-09T08:22:45.460

Reputation: 5 474