Uses of Class
org.apache.commons.net.ftp.FTPFile
Packages that use FTPFile
Package
Description
FTP and FTPS support classes
FTP file listing parser classes
-
Uses of FTPFile in org.apache.commons.net.ftp
Methods in org.apache.commons.net.ftp that return FTPFileModifier and TypeMethodDescriptionFTPFile[]FTPListParseEngine.getFiles()Returns 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) Returns 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) Returns an array of at mostquantityRequestedFTPFile objects starting at this object's internal iterator's current position.FTPFile[]FTPListParseEngine.getPrevious(int quantityRequested) Returns an array of at mostquantityRequestedFTPFile 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[]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 pathname, FTPFileFilter filter) Version ofFTPClient.listFiles(String)which allows a filter to be provided.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[]Generate a directory listing using the MLSD command.FTPFile[]FTPClient.mlistDir(String pathname, FTPFileFilter filter) Generate a directory listing using the MLSD command.Get file details using the MLST commandFTPFileEntryParser.parseFTPEntry(String listEntry) Parses a line of an FTP server file listing and converts it into a usable format in the form of anFTPFileinstance.Methods in org.apache.commons.net.ftp with parameters of type FTPFile -
Uses of FTPFile in org.apache.commons.net.ftp.parser
Methods in org.apache.commons.net.ftp.parser that return FTPFileModifier and TypeMethodDescriptionstatic FTPFileMLSxEntryParser.parseEntry(String entry) FTPFile[]VMSFTPEntryParser.parseFileList(InputStream listStream) Deprecated.(2.2) No other FTPFileEntryParser implementations have this method.CompositeFileEntryParser.parseFTPEntry(String listEntry) 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 anFTPFileinstance.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 anFTPFileinstance.MLSxEntryParser.parseFTPEntry(String entry) MVSFTPEntryParser.parseFTPEntry(String entry) Parses a line of an z/OS - MVS FTP server file listing and converts it into a usable format in the form of anFTPFileinstance.NetwareFTPEntryParser.parseFTPEntry(String entry) Parses a line of an NetwareFTP server file listing and converts it into a usable format in the form of anFTPFileinstance.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 anFTPFileinstance.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 anFTPFileinstance.OS400FTPEntryParser.parseFTPEntry(String entry) 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 anFTPFileinstance.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 anFTPFileinstance.Methods in org.apache.commons.net.ftp.parser with parameters of type FTPFileModifier and TypeMethodDescriptionprivate voidMLSxEntryParser.doUnixPerms(FTPFile file, String valueLowerCase) private booleanMVSFTPEntryParser.parseFileList(FTPFile file, String entry) Parse entries representing a dataset list.private booleanMVSFTPEntryParser.parseJeslevel1List(FTPFile file, String entry) Matches these entries, note: no header: [1] [2] [3] [4] [5] IBMUSER1 JOB01906 OUTPUT 3 Spool Files 012345678901234567890123456789012345678901234 1 2 3 4 ------------------------------------------- Group in regex [1] Job name [2] Job number [3] Job status (INPUT,ACTIVE,OUTPUT) [4] Number of sysout files [5] The string "Spool Files"private booleanMVSFTPEntryParser.parseJeslevel2List(FTPFile file, String entry) Matches these entries, note: no header: [1] [2] [3] [4] [5] JOBNAME JOBID OWNER STATUS CLASS IBMUSER1 JOB01906 IBMUSER OUTPUT A RC=0000 3 spool files IBMUSER TSU01830 IBMUSER OUTPUT TSU ABEND=522 3 spool files 012345678901234567890123456789012345678901234 1 2 3 4 ------------------------------------------- Group in regex [1] Job name [2] Job number [3] Owner [4] Job status (INPUT,ACTIVE,OUTPUT) [5] Job Class [6] The restprivate booleanMVSFTPEntryParser.parseMemberList(FTPFile file, String entry) Parse entries within a partitioned dataset.private booleanMVSFTPEntryParser.parseSimpleEntry(FTPFile file, String entry) Assigns the name to the first word of the entry.private booleanMVSFTPEntryParser.parseUnixList(FTPFile file, String entry) Parse the entry as a standard unix file.