Obtains a list only with the file names of the current directory. Use the NLST command.

1 ftp.nlst

<ftp.nlst pattern='pattern'/>

Exceptions

do not activate ftp connection

It is not possible to obtain the FTP communication with the server because there is not established.