FTPFile
FTPClient.listFiles
FTPFile[] | parseFileList(InputStream listStream) Parses an FTP server file listing and converts it into a usable format in the form of an array of FTPFile instances. |
public FTPFile[] parseFileList(InputStream listStream)
FTPFile instances. If the
file list contains no files, null should be
returned, otherwise an array of FTPFile instances
representing the files in the directory is returned.
- If an I/O error occurs reading the listStream.