cURL / Mailing Lists / curl-library / Single Mail


RE: libcurl and libssh2

From: Daniel Stenberg <>
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://", 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.

List admin:
Received on 2009-10-17