cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Possible libssh2_sftp_rename_ex bug?

From: Jonas Schnelli <jonas.schnelli_at_include7.ch>
Date: Thu, 10 Nov 2011 21:58:30 +0100

>
>> On Thu, 10 Nov 2011, Jonas Schnelli wrote:
>>
>>> If the "old file" not exists. The rm (remove) cancels the whole postquote chain.
>>
>> This is sort of a bug. We should allow quote commands to fail if they're prefixed with '*', however that feature was only ever implemented for FTP.
>>
>> The proper fix here is to make sure the SFTP quote commands also recognizes it! You up to making a patch for it?
>
>
> Okay.
> I'll give it a try.

Patch is available:
https://github.com/jonasschnelli/curl/commit/dd18d31b81c7bccff817d57bed1e709e2af7ded7

Because it's my first curl patch:
It would be great if someone can do a quick review.

Thanks

---
jonas
> 
> 
>> 
>> -- 
>> 
>> / daniel.haxx.se
>> -------------------------------------------------------------------
>> List admin: http://cool.haxx.se/list/listinfo/curl-library
>> Etiquette:  http://curl.haxx.se/mail/etiquette.html
> 
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-10