curl-library
FTP Quote command one fails, entire operation aborted
Date: Sun, 23 Apr 2017 16:01:35 +0200
I have an app that batch deletes files from a remote FTP/SFTP server, it works well until a file does not exist on the remote server.
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?
Or do I have somehow check that all files does exist on the server before trying to delete them, is this the only way around this?
Thanks in advance!
/ Jan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-23