[erlang-questions] sftp closing on big file

Bengt Kleberg bengt.kleberg@REDACTED
Thu Dec 8 13:51:15 CET 2016


Greetings,

Using erlang/otp_19.1 I attempt to write a 1171 MB file using 
ssh_sftp:write_file/4, but it fails with {error,closed} around 
(different amount at each attempt) 1000 MB.

Manually doing "scp" works. Many other, smaller, files also work with 
write_file/4.

I could look at this using Wireshark, but perhaps there is something 
obvious that somebody could suggest/knows?


bengt




More information about the erlang-questions mailing list