On Sun, 23 Apr 2017, Jan Östlund wrote:
Today I discovered this in the docs, after lot of debugging my FTP-commands:
https://curl.haxx.se/docs/manpage.html#-Q
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.
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html