cURL / Mailing Lists / curl-users / Single Mail


Re: An issue about sftp quote command

From: Daniel Stenberg <>
Date: Fri, 20 Feb 2009 09:35:57 +0100 (CET)

On Fri, 20 Feb 2009, Lisa Xu wrote:

> Does --quote option support "~" character for sftp?

The quote option sends commands to the server to execute. If you send ~ in the
file name you thus assume that the server understands it. It isn't curl's
business to know nor care about.

I doubt that the ~ symbol is included in the SFTP spec as a magic marker for
the home dir of the user you're logged in as, but I'm not sure so I figure you
can check that. And check the docs for the SFTP server you use.

List admin:
Received on 2009-02-20