cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: An issue about sftp quote command

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-20