cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl on Windows, SFTP and proxy, sftp not supported??

From: Raul <raul.frutos_at_gmail.com>
Date: Tue, 24 May 2011 13:17:24 +0200

Hi,

I am trying to make a script for sending data by sFTP using a http proxy. If
I try with WinSCP, it works fine but do not using curl.

I am using the follow sentence, do you think if is there something wrong?

#curl --proxy X.X.X.X:8080 --proxy-user proxyuser:proxypassword
--upload-file D:\In\test\*.* -u ftpuser:ftppassword sftp://FTPIP:22/Test/

This is the error what I am getting:

curl: (1) Protocol sftp not supported or disabled in libcurl

This is the result of the command curl -V

curl 7.21.4 (i386-pc-win32) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s
rtsp
smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate Largefile NTLM SSL SSPI libz

Thanks for your help!

-------------------------------------------------------------------
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 2011-05-24