Return an array with the structure which defines all the information of the listed remote files. Use the command LIST.
1 ftp.listFiles
<ftp.listFiles pattern='pattern'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apattern | String | Allows to define a pattern of the file names to obtain. |
Returns | |
---|---|
Type | Description |
ArrayList | Arrangement of FTPFiles with the list of the obtained files. |
Exceptions
do not activate ftp connection
It is not possible to obtain the communication FTP with the server because there is not established.