cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and sftp.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 22 Apr 2014 23:08:56 +0200

On Tue, Apr 22, 2014 at 10:26:50PM +0530, john gloster wrote:
> Wanted to know whether is there any integrity check done on the file for
> "rename" operation under SFTP? In my setup i see that the file is sometimes not
> proper after rename operation in destination.
> Not sure whether it is affected by something else.

I'm having trouble understanding what you're asking. What kind of integrity
check would you expect for a rename? curl sends the rename command, as
requested, to the remote end and returns the error code. If the remote end
doesn't perform that operation yet returns a success code, then it sounds
broken to me. What are you seeing that is not "proper"?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-22