­FTP Exceptions

The FTP service provides the following exceptions for throwing exception events.

FTPConnectionException

Thrown when a file that is targeted by an operation cannot be found on the file system of the AEM forms Server.

FTPFileNotFoundException

Thrown when a file that is targeted by an operation cannot be found on the file system of the AEM forms Server.

FTPFileUnavailableException

Thrown when a file that is targeted by an operation is not available on the FTP server. The user account that you are using to connect to the FTP server may not have permissions to perform the operation, or the file cannot be located on the FTP server.

IllegalArgumentException

Thrown when an input property for an operation is an unexpected value or not specified. For example, for Put Multiple Documents, the Documents property should be type map or list . An IllegalArgumentException is thrown if the value is type string or not specified.

IOException

Thrown when a file input/output error occurs on the FTP server.

// Ethnio survey code removed