On Fri, 1 Jan 2010, Nick Jensen wrote:
sftp://myhost.com:22/~/my-file.txt (works as expected)
So I guess the solution is to use a ~ prefix ... but will this work on a
Windows based SFTP server? I was under the impression that the tilde was
only a valid path on Unix/Mac systems. Or is there another way to create a
cross-platform relative url?
SFTP URIs are defined to work like that and libcurl uses the specified way. It
has nothing to do with UNIX vs anything else.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html