curl-library
Re: SFTP sample code?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 27 Jan 2011 08:45:21 +0100 (CET)
Date: Thu, 27 Jan 2011 08:45:21 +0100 (CET)
On Wed, 26 Jan 2011, Dan Fandrich wrote:
>> The stuff that i am confused about in particular is the ftp 'quoted'
>> commands like rename and delete, so i am struggling to understand how to
>> replace "RNFR""RNTO" oldname newnawm with 'rename oldname newname'
>
> The mechanism is the same as pure ftp, but the syntax is different. With
> sftp, renaming is done in a single quote command instead of two. Otherwise,
> it works the same.
Right, just read up in the docs.
Oh, and if you do end up with a little snippet that works, please consider
submitting it to us so that we can add such an SFTP example to the
collection...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-27