curl / Mailing Lists / curl-library / Single Mail


Re: FTP Quote command one fails, entire operation aborted

From: Jan Östlund <>
Date: Mon, 24 Apr 2017 06:18:49 +0200

> 23 apr. 2017 kl. 23:36 skrev Daniel Stenberg <>:
>> On Sun, 23 Apr 2017, Jan Östlund wrote:
>> Today I discovered this in the docs, after lot of debugging my FTP-commands:
>>> If the server returns failure for one of the commands, the entire operation will be aborted. You must send syntactically correct FTP commands as RFC 959 defines to FTP servers, or one of the commands listed below to SFTP servers.
>> Is there no way around this or mute the error? Is this a technical limit?
> I find it ironic that you point to the docs there, as the third paragraph in that docs section gives you the answer:
> When speaking to an FTP server, prefix the command with an asterisk (*) to
> make curl continue even if the command fails as by default curl will stop at
> first failure.

Whoops, embarrassed!! Spent several hours trying to figur out what going on...sometimes it's just a new pair of fresh eyes needed. Sorry, but I appreciate that you pointed this out this.
Received on 2017-04-24