curl-library
Re: Transfering a file via SFTP returns error 51 ()
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Jan 2018 10:29:29 +0100 (CET)
Date: Wed, 17 Jan 2018 10:29:29 +0100 (CET)
On Wed, 17 Jan 2018, Daniele Giglio wrote:
> -H Expect:
That's for HTTP transfers.
> --disable-epsv --ftp-skip-pasv-ip --disable-eprt
Those are for FTP transfers (not SFTP).
> * Closing connection #0
> * Error in the SSH layer
> curl: (79) Error in the SSH layer
It is probably an interop problem with the server somehow. If this reproduces
with a recent libssh2 and curl version, it could be interesting to dig deeper
and get some SSH specific details to see what's going on. With this old setup
of yours however, I don't think there's much hope.
> curl 7.19.7
That version is 60 releases (more than 8 years) old. Since then, we've fixed
over 2800 bugs...!
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-01-17