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.

  • Comment on Re: Net SFTP Foreign backend ssh2 Put not working for large files LIBSSH2_ERROR_SOCKET_NON(-1) transport read

Replies are listed 'Best First'.
Re^2: Net SFTP Foreign backend ssh2 Put not working for large files LIBSSH2_ERROR_SOCKET_NON(-1) transport read
by neoryan (Initiate) on Jul 10, 2012 at 20:41 UTC
    I am not sure how to update libssh2 on windows server, can someone please guide me?
      Latest versions of Net::SSH2 contain a file describing how to compile everything from scratch on Windows... though, even following that instruction it is not an easy task, YMMV.

      Precompiled packages are available from http://www.sisyphusion.tk/ppm/ (by courtesy of syphilis).

        Precompiled packages are available from http://www.sisyphusion.tk/ppm/

        It might be worth mentioning that those packages are, in fact, built against the latest libssh2 release (version 1.4.2).
        The full list of available packages can be viewed at http://www.sisyphusion.tk/ppmindex.html.

        Cheers,
        Rob