curl-library
RE: libcurl and libssh2
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Oct 2009 14:02:47 +0200 (CEST)
Date: Sat, 17 Oct 2009 14:02:47 +0200 (CEST)
On Fri, 16 Oct 2009, Xu, Qiang (FXSGSC) wrote:
> Maybe, it is because SFTP protocol doesn't specify what ~ represents. But it
> works when I uploaded a file using "./curl -v -u qxu:fair123 -T
> CMakeLists.txt sftp://13.198.98.190/~/scan/test.txt", as Guenter suggested.
>
> Kind of strange here.
No, that's not strange at all actually. The "~" when part of the URL is handed
by libcurl, as per the draft URI syntax for SFTP. That doesn't imply that the
SFTP protocol itself has any knowledge of what "~" means.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-10-17