http://www.perlmonks.org?node_id=980907


in reply to Net SFTP Foreign backend ssh2 Put not working for large files LIBSSH2_ERROR_SOCKET_NON(-1) transport read

Which versions of Net::SSH2 and libssh2 have you installed?

You should try installing the latest versions of Net::SFTP::Foreign::Backend::Net_SSH2, Net::SSH2 and specially libssh2 as several bugs affecting long transfers were solved on the last release.