curl-users
Re: What I do wrong with this sftp command with curl?
From: Wei Weng <wweng_at_kencast.com>
Date: Wed, 14 Nov 2007 19:05:50 -0500
Date: Wed, 14 Nov 2007 19:05:50 -0500
Wei Weng wrote:
> hi all.
>
> [snip]
Err, never mind, I just found out myself. Seems like unlike ftp, sftp
doesn't automatically put yourself into the $HOME directory.
Basically change the command to
curl -v -u wweng:mypass sftp://192.168.1.162/home/wweng/test.jpg > test.jpg
worked.
Sorry about that. ;)
Wei
Received on 2007-11-15