cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: libcurl: using sftp or ftp upload, changing file name after upload is done...
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Mar 2009 19:58:09 +0100 (CET)
On Tue, 24 Mar 2009, Miguel Costa wrote:
> i've tried to do an upload function to upload a file and then change the
SFTP and FTP require entirely different commands to do the renaming.
> /* commands to change the file num after upload is done */
These are FTP commands, they won't work for SFTP. On SFTP you do something
sprintf(buf_1, "rename %s %s", upfile. renamefile);
-- / daniel.haxx.seReceived on 2009-03-24
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info