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
