cURL / Mailing Lists / curl-users / Single Mail

curl-users

CURLE_SSH (79) curl: (79)

From: Faizel Isaacs <Faizel.Isaacs_at_vodacom.co.za>
Date: Mon, 30 Nov 2009 15:09:35 +0200

http://www.vodacom.co.za/services/callback/callback.jsp

Hi There

I'm trying to upload a file via SFTP to a windows 2003 server with service pack 3, However I seem to get a unknown error returned (curl: (79)). Any ideas of what could be wrong? The remote server is running WINSSHD version 5. I can do a directory listing via SFTP and run any other commands it's only once I start a upload that I get a bad message from SFTP server.

curl -v -T "{faiz.txt,faiz.txt}" sftp://username:password@10.10.10.10:10022/ --verbose
* About to connect() to 10.10.10.10port 10022 (#0)
* Trying 10.10.10.10... connected
* Connected to 10.10.10.10(10.10.10.10) port 10022 (#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
* Upload failed: Bad message from SFTP server
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0* Connection #0 to host 10.10.10.10left intact

curl: (79) Upload failed: Bad message from SFTP server
* Re-using existing connection! (#0) with host 10.10.10.10
* Connected to 10.10.10.10(10.10.10.10) port 10022 (#0)
* Upload failed: Bad message from SFTP server
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 to host 10.10.10.10left intact

curl: (79) Upload failed: Bad message from SFTP server
* Closing connection #0

Regards,
Faizel

“This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.co.za/legal/email.jsp "

-------------------------------------------------------------------
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

rocketseed_insert2.gif rocketseed_insert1.jpg
Received on 2009-11-30