cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: libcurl and libssh2

From: Guenter <lists_at_gknw.net>
Date: Thu, 15 Oct 2009 06:40:34 +0200

Hi,
Xu, Qiang (FXSGSC) schrieb:
> It is strange, coz when I telnet into 13.198.98.190 with my account "qxu/fair123", the default path is my home directly (/home/qxu). So a relative path (scan) should work, shouldn't it? I am also using the relative path in ftp connection to 13.198.98.202 with curl, and it is successful.
sftp is not ftp, but something completely other.
Try something like:
./curl -v -u qxu:fair123 -T CMakeLists.txt
sftp://13.198.98.190/~/scan/test.txt
or maybe this works also:
./curl -v -u qxu:fair123 -T CMakeLists.txt
sftp://13.198.98.190/./scan/test.txt

GŁnter.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET