Here is a list of common throws messages and how to interpret them.
An FTPS Connector operation attempted to access an FTPS server path and performed an action for which the user does not have permission. FTPS:ACCESS_DENIED is not a child of FTPS:CONNECTIVITY. An error handler that catches only FTPS:CONNECTIVITY does not catch this error. The connector raises this error when the server rejects the action with reply code 450, 550, or 553 and the reply text indicates missing permission, for example Permission denied. In FTPS Connector 2.x, these server rejections surfaced as MULE:UNKNOWN. When the server refuses to create a directory with reply code 450, 550, or 553 and a reply text that does not explain the cause, for example 550 Create directory operation failed., the connector also raises this error. This applies to Create Directory and to operations that create parent directories.
The connection to the FTPS server was interrupted.
The TLS handshake with the FTPS server or with an HTTPS tunnel proxy failed, for example because the server certificate is not trusted, the host name does not match, the certificate is expired, or no protocol or cipher suite can be agreed. This error is a child of FTPS:CONNECTIVITY. In FTPS Connector 2.x, these failures raised FTPS:INVALID_CREDENTIALS.
The configured Working Directory (workingDir) does not exist on the FTPS server. The connection fails when it is established with the message The configured workingDir '<path>' doesn’t exist. This error is a child of FTPS:CONNECTIVITY. If the path is a directory the user cannot enter, the connection fails with FTPS:CONNECTIVITY and the message Access denied to the configured workingDir '<path>'.
The configured Working Directory (workingDir) is a file, not a directory. The connection fails when it is established with the message The configured workingDir '<path>' is not a directory. This error is a child of FTPS:CONNECTIVITY.
An attempt was made to create a file with the same location and name as an existing file.
Read and Write raise this error when Lock is true and the file is already locked. Delete raises it when the file is locked by another operation in the app, for example a Read that is still in progress. The message is File '<path>' is locked by another process or Could not lock file '<path>' because it’s already owned by another process.
The Write operation received invalid content to write.
The specified path is invalid because, for example, it does not exist. The connector also raises this error when the server rejects the action with reply code 450, 550, or 553 and the reply text indicates a missing file, for example No such file or directory, when Create Directory finds a file where the new directory should be, and when the Directory of the On New or Updated File source does not exist or cannot be entered. The listener message is Path '<directory>' doesn’t exist.
If the server reply text does not indicate either missing permission or a missing file, the connector raises a generic error instead of FTPS:ACCESS_DENIED or FTPS:ILLEGAL_PATH.
Retries of a certain execution block are exhausted.
The FTPS:FILE_NOT_FOUND error type is removed in FTPS Connector 3.0. Use FTPS:ILLEGAL_PATH instead.