# Uses of Class
org.apache.commons.net.ftp.FTPFile

Packages that use FTPFile
Package
Description
org.apache.commons.net.ftp
FTP and FTPS support classes
org.apache.commons.net.ftp.parser
FTP file listing parser classes

- ## Uses of FTPFile in org.apache.commons.net.ftp

  Methods in org.apache.commons.net.ftp that return FTPFile
  Modifier and Type
  Method
  Description
  `FTPFile[]`
  FTPListParseEngine.`getFiles()`
  Gets an array of FTPFile objects containing the whole list of files returned by the server as read by this object's parser.
  `FTPFile[]`
  FTPListParseEngine.`getFiles(FTPFileFilter filter)`
  Gets an array of FTPFile objects containing the whole list of files returned by the server as read by this object's parser.
  `FTPFile[]`
  FTPListParseEngine.`getNext(int quantityRequested)`
  Gets an array of at most `quantityRequested` FTPFile objects starting at this object's internal iterator's current position.
  `FTPFile[]`
  FTPListParseEngine.`getPrevious(int quantityRequested)`
  Gets an array of at most `quantityRequested` FTPFile objects starting at this object's internal iterator's current position, and working back toward the beginning.
  `FTPFile[]`
  FTPClient.`listDirectories()`
  Using the default system autodetect mechanism, obtain a list of directories contained in the current working directory.
  `FTPFile[]`
  FTPClient.`listDirectories(String parent)`
  Using the default system autodetect mechanism, obtain a list of directories contained in the specified directory.
  `FTPFile[]`
  FTPClient.`listFiles()`
  Using the default system autodetect mechanism, obtain a list of file information for the current working directory.
  `FTPFile[]`
  FTPClient.`listFiles(String path)`
  Using the default system autodetect mechanism, obtain a list of file information for the current working directory or for just a single file.
  `FTPFile[]`
  FTPClient.`listFiles(String path, FTPFileFilter filter)`
  Version of `FTPClient.listFiles(String)` which allows a filter to be provided.
  `FTPFile`
  FTPClient.`mdtmFile(String path)`
  Issue the FTP MDTM command (not supported by all servers) to retrieve the last modification time of a file.
  `FTPFile[]`
  FTPClient.`mlistDir()`
  Generate a directory listing for the current directory using the MLSD command.
  `FTPFile[]`
  FTPClient.`mlistDir(String path)`
  Generate a directory listing using the MLSD command.
  `FTPFile[]`
  FTPClient.`mlistDir(String path, FTPFileFilter filter)`
  Generate a directory listing using the MLSD command.
  `FTPFile`
  FTPClient.`mlistFile(String path)`
  Gets file details using the MLST command
  `FTPFile`
  FTPFileEntryParser.`parseFTPEntry(String listEntry)`
  Parses a line of an FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  Methods in org.apache.commons.net.ftp that return types with arguments of type FTPFile
  Modifier and Type
  Method
  Description
  `List<FTPFile>`
  FTPListParseEngine.`getFileList(FTPFileFilter filter)`
  Gets a list of FTPFile objects containing the whole list of files returned by the server as read by this object's parser.
  Methods in org.apache.commons.net.ftp with parameters of type FTPFile
  Modifier and Type
  Method
  Description
  `boolean`
  FTPFileFilter.`accept(FTPFile file)`
  Checks if an FTPFile entry should be included or not.

- ## Uses of FTPFile in org.apache.commons.net.ftp.parser

  Methods in org.apache.commons.net.ftp.parser that return FTPFile
  Modifier and Type
  Method
  Description
  `static FTPFile`
  MLSxEntryParser.`parseEntry(String entry)`
  Parses a line of an FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile[]`
  VMSFTPEntryParser.`parseFileList(InputStream listStream)`
  Deprecated.
  (2.2) No other FTPFileEntryParser implementations have this method.
  `FTPFile`
  CompositeFileEntryParser.`parseFTPEntry(String listEntry)`
  `FTPFile`
  EnterpriseUnixFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of a Unix FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  MacOsPeterFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of a Unix (standard) FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  MLSxEntryParser.`parseFTPEntry(String entry)`
  `FTPFile`
  MVSFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of a z/OS - MVS FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  NetwareFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of an NetwareFTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  NTFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of an NT FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  OS2FTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of an OS2 FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  OS400FTPEntryParser.`parseFTPEntry(String entry)`
  `FTPFile`
  UnixFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of a Unix (standard) FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.
  `FTPFile`
  VMSFTPEntryParser.`parseFTPEntry(String entry)`
  Parses a line of a VMS FTP server file listing and converts it into a usable format in the form of an `FTPFile` instance.