cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP issues

From: Abel Alonso <abelalon_at_gmail.com>
Date: Mon, 28 Apr 2008 10:28:17 +0200

Ups... :S I didn't know this... Thank you very much for your help! :D

By the way, do you know if the second issue I explain in my first message
has some relation with this?

Thanks a lot!

2008/4/28 Daniel Stenberg <daniel_at_haxx.se>:

> On Mon, 28 Apr 2008, Abel Alonso wrote:
>
> Please don't top-post.
>
> I'm running in a Windows System and compiling with Visual Studio 2005
> > SP1. The URL I use is the following:
> >
> > sftp://user:password@172.20.20.10:22/
> >
>
> Right, this URL is the server's *root dir* not the home dir of "user". I'm
> afraid I can't tell you why, but the people who designed the SCP and SFTP
> URI syntax decided that you need to use the following URL to get the user's
> home dir:
>
> sftp://user:password@172.20.20.10:22/~/<http://user:password@172.20.20.10:22/%7E/>
>
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2008-04-28