curl-users
Re: curl -T
Date: Tue, 01 May 2012 22:12:01 -0400
On 5/1/12 1:48 PM, Daniel Stenberg wrote:
> On Mon, 30 Apr 2012, kalin m wrote:
>
>> recently i came across a situation where i get this:
>>
>> # curl -vvvv -T some_file user:pass sftp://ftp.server.com/dir/
>
> One -v is enough, multiple ones makes no difference...
>
> But you didn't say which curl version and which libssh2 version it is
> using.
curl 7.16.3 libcurl/7.16.3 OpenSSL/0.9.8h zlib/1.2.3 libssh2/0.17
>
>> curl: (79) Could not open remote file for writing: Operation failed
>
> That's likely a problem with libssh2 or at least it is related to the
> SSH protocol layer.
probably it is.
> Can you retrieve files with curl from that same SFTP server so that the
> problem is only related to upload?
just tested retrieving. same error 79.
>
thanks.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-02