cURL / Mailing Lists / curl-library / Single Mail

curl-library

Reg:SFTP commands

From: <nagarajan.sreenivasan_at_wipro.com>
Date: Thu, 26 Jun 2008 14:02:45 +0530

hi all
 
I am using linux platform
 
I am using currently using curl-7.18.2 version
 
I want to rename /chmod files in remote server using SFTP protocol
 
what is the command should i send via libcurl .
 
i tried rename (it didnt work)
 
is sftp commands supported or what is the way to achieve this
objective(renaming and changing mode of the files)
 
if libcurl supports which verison does it support?
 
below is the error output
 
I am trying to send rename <oldpath > <newpath>
 
* Sending quote commands
* Unknown SFTP command
* Connection #0 to host <hostname> left intact
* Quote command returned error
 the res value of in RenameRemoteFile is : 21
 
Regards
Nagarajan
 
 

Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Received on 2008-06-26