[Lin Huangyang] Do you mean that I have to explicitly add home directory to 
sftp URL in order to be at right place once connected? If I don't know the user 
home directory, is there other way to get to it when connected? Thanks.

I think that the tilde ~ might help you out the way you wish...

If you connect to "sftp://server.blabla.com/~ you should arrive at the home directory of the user you log in as. Alternatively, you use it with "sftp://server.blabla.com/~<username>" to arrive at some other user's home directory.

Best regards
Patrik Thunström / [email protected]

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to