> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Guenter > Sent: Thursday, October 15, 2009 12:41 PM > To: libcurl development > Subject: Re: libcurl and libssh2 > > Hi, > 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
This works. > or maybe this works also: > ./curl -v -u qxu:fair123 -T CMakeLists.txt > sftp://13.198.98.190/./scan/test.txt This doesn't work. So, if we write a path like "sftp://<ip_addr>/scan" in the curl command, the server would look for "scan" folder from its root directory. Is it? Thanks, Xu Qiang ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
