Obtains a list only with the file names of the current directory. Use the NLST command.
1 ftp.nlst
<ftp.nlst pattern='pattern'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apattern | String | Allows to define a pattern of the names to be listed. |
Returns | |
---|---|
Type | Description |
ArrayList | Set of file names. |
Exceptions
do not activate ftp connection
It is not possible to obtain the FTP communication with the server because there is not established.