cURL / Mailing Lists / curl-users / Single Mail

curl-users

"Failed sending data to the peer"

From: <phiroc_at_free.fr>
Date: Wed, 22 Apr 2009 12:31:38 +0200 (CEST)

Hello,

( have another question.

When I do

curl.exe --verbose --retry 8 --retry-delay 2 --retry-max-time 30 --user "abc:def" --upload-file file.txt sftp://myserver.com/directory/

I get the following message:

-----------------------

* About to connect() to myserver.com port 22 (#0)
* Trying xxx.xxx.xxx... connected
* Connected to ......... port 22 (#0)
* SSH authentication methods available: publickey,gssapi-with-mic,password
* Using ssh public key file id_dsa.pub
* Using ssh private key file id_dsa
* SSH public key authentication failed: Unable to open public key file
* Initialized password authentication
* Authentication complete
} [data not shown]
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 20910 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* Closing connection #0
* Failed sending data to the peer

curl: (55) Failed sending data to the peer

-------------------------------------------------

Why does it say "failed sending data to the peer"?

Strangely enough, the file was transferred OK to the directory.

Many thanks.

phiroc
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-22