curl-library
RE: SFTP commands
Date: Wed, 9 Jul 2008 16:15:00 +0530
Hi Dan
>>>I've looked through the code and discovered that the way curl changes
file attributes in SFTP isn't very efficient >>>and might cause this
problem under certain conditions. Rather than changing just one
attribute, it requests all >>>>>>>current attributes for the file,
updates the one requested, then sends ALL the attributes to the remote
server. >>>>>>I'll look at solving this by next week.
Thanks for the help do let me know as soon as u fix it .
Thanks in Advance
Nagarajan
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Friday, July 04, 2008 3:00 AM
To: curl-library_at_cool.haxx.se
Subject: Re: SFTP commands
On Wed, Jul 02, 2008 at 11:53:03AM +0530,
nagarajan.sreenivasan_at_wipro.com wrote:
> Remote server am running on linux platform. Both gfs and
local file
> system gives me the same error. And regarding the Error logs I am not
> able to find any in the remote server in /var/log/secure or
> /var/log/messages it has Only connection and disconenction realted
> errors.
You would need to enable debugging on the SSH server in order to see the
kind of detail needed here.
> For now I have a hack:like would first change the file to 777
> permission (ignore the error)
>
> And then change the file to required permisison (what ever mentioned )
> .I know it sounds weired :)))
I've looked through the code and discovered that the way curl changes
file attributes in SFTP isn't very efficient and might cause this
problem under certain conditions. Rather than changing just one
attribute, it requests all current attributes for the file, updates the
one requested, then sends ALL the attributes to the remote server. I'll
look at solving this by next week.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved 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.comReceived on 2008-07-09