Package | Description |
---|---|
org.apache.commons.net.ftp |
FTP and FTPS support classes
|
Modifier and Type | Field and Description |
---|---|
static FTPFileFilter |
FTPFileFilters.ALL
Accepts all FTPFile entries, including null.
|
static FTPFileFilter |
FTPFileFilters.DIRECTORIES
Accepts all (non-null) FTPFile directory entries.
|
static FTPFileFilter |
FTPFileFilters.NON_NULL
Accepts all non-null FTPFile entries.
|
Modifier and Type | Method and Description |
---|---|
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[] |
FTPClient.listFiles(String pathname,
FTPFileFilter filter)
Version of
FTPClient.listFiles(String) which allows a filter to be provided. |
FTPFile[] |
FTPClient.mlistDir(String pathname,
FTPFileFilter filter)
Generate a directory listing using the MLSD command.
|
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.