cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP commands

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 26 Jun 2008 10:25:58 -0700

On Thu, Jun 26, 2008 at 04:44:08PM +0530, nagarajan.sreenivasan_at_wipro.com wrote:
> Hi all
>
> I am using Linux platform
>
> finally got rename working but now I have a problem with chmod
>
> scenario:
> ========
>
> I have a file with 555 permisison .
>
> I want to change it to 777 permission.
>
> but I am getting the following error
>
> * Sending quote commands
> * Attempt to set SFTP stats failed: Permission denied
> * Connection #0 to host <hostname> left intact
> * Quote command returned error
> value of res in ChmodRemoteFile is : 21(CURLE_QUOTE_ERROR (21) )

The probably is probably just what it says: "Permission deined". Are you
sure the SFTP user has permission to change the mode of the given
file?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-26