public final class FTPResourceClient extends org.apache.commons.net.ftp.FTPClient
ACTIVE_LOCAL_DATA_CONNECTION_MODE, ACTIVE_REMOTE_DATA_CONNECTION_MODE, FTP_SYSTEM_TYPE, FTP_SYSTEM_TYPE_DEFAULT, PASSIVE_LOCAL_DATA_CONNECTION_MODE, PASSIVE_REMOTE_DATA_CONNECTION_MODE, SYSTEM_TYPE_PROPERTIES
ASCII_FILE_TYPE, BINARY_FILE_TYPE, BLOCK_TRANSFER_MODE, CARRIAGE_CONTROL_TEXT_FORMAT, COMPRESSED_TRANSFER_MODE, DEFAULT_CONTROL_ENCODING, DEFAULT_DATA_PORT, DEFAULT_PORT, EBCDIC_FILE_TYPE, FILE_STRUCTURE, LOCAL_FILE_TYPE, NON_PRINT_TEXT_FORMAT, PAGE_STRUCTURE, RECORD_STRUCTURE, STREAM_TRANSFER_MODE, TELNET_TEXT_FORMAT
Constructor and Description |
---|
FTPResourceClient(FTPConnectionData ftpConnectionData,
int cacheTimeout) |
Modifier and Type | Method and Description |
---|---|
boolean |
changeWorkingDirectory(String pathname) |
boolean |
deleteFile(String pathname) |
boolean |
equals(Object obj) |
FTPConnectionData |
getFtpConnectionData() |
org.apache.commons.net.ftp.FTPFile |
getFTPFile(FTPResource res) |
long |
getLastAccess() |
Object |
getToken() |
String |
id() |
void |
registerFTPFile(FTPResource res,
org.apache.commons.net.ftp.FTPFile file) |
void |
touch() |
void |
unregisterFTPFile(FTPResource res) |
abort, allocate, allocate, appendFile, appendFileStream, changeToParentDirectory, completePendingCommand, configure, disconnect, doCommand, doCommandAsStrings, enterLocalActiveMode, enterLocalPassiveMode, enterRemoteActiveMode, enterRemotePassiveMode, features, featureValue, featureValues, getAutodetectUTF8, getBufferSize, getControlKeepAliveReplyTimeout, getControlKeepAliveTimeout, getCopyStreamListener, getDataConnectionMode, getListHiddenFiles, getModificationTime, getPassiveHost, getPassivePort, getRestartOffset, getStatus, getStatus, getSystemName, getSystemType, hasFeature, hasFeature, initiateListParsing, initiateListParsing, initiateListParsing, isRemoteVerificationEnabled, isUseEPSVwithIPv4, listDirectories, listDirectories, listFiles, listFiles, listFiles, listHelp, listHelp, listNames, listNames, login, login, logout, makeDirectory, mlistDir, mlistDir, mlistDir, mlistFile, printWorkingDirectory, remoteAppend, remoteRetrieve, remoteStore, remoteStoreUnique, remoteStoreUnique, removeDirectory, rename, retrieveFile, retrieveFileStream, sendNoOp, sendSiteCommand, setActiveExternalIPAddress, setActivePortRange, setAutodetectUTF8, setBufferSize, setControlKeepAliveReplyTimeout, setControlKeepAliveTimeout, setCopyStreamListener, setDataTimeout, setFileStructure, setFileTransferMode, setFileType, setFileType, setListHiddenFiles, setModificationTime, setParserFactory, setRemoteVerificationEnabled, setReportActiveExternalIPAddress, setRestartOffset, setUseEPSVwithIPv4, storeFile, storeFileStream, storeUniqueFile, storeUniqueFile, storeUniqueFileStream, storeUniqueFileStream, structureMount
abor, acct, allo, allo, appe, cdup, cwd, dele, eprt, epsv, feat, getControlEncoding, getReply, getReplyCode, getReplyString, getReplyStrings, help, help, isStrictMultilineParsing, list, list, mdtm, mfmt, mkd, mlsd, mlsd, mlst, mlst, mode, nlst, nlst, noop, pass, pasv, port, pwd, quit, rein, rest, retr, rmd, rnfr, rnto, sendCommand, sendCommand, sendCommand, sendCommand, setControlEncoding, setStrictMultilineParsing, site, smnt, stat, stat, stor, stou, stou, stru, syst, type, type, user
addProtocolCommandListener, connect, connect, connect, connect, connect, connect, getConnectTimeout, getDefaultPort, getDefaultTimeout, getKeepAlive, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getServerSocketFactory, getSoLinger, getSoTimeout, getTcpNoDelay, isAvailable, isConnected, removeProtocolCommandListener, setConnectTimeout, setDefaultPort, setDefaultTimeout, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setServerSocketFactory, setSocketFactory, setSoLinger, setSoTimeout, setTcpNoDelay, verifyRemote
public FTPResourceClient(FTPConnectionData ftpConnectionData, int cacheTimeout)
public FTPConnectionData getFtpConnectionData()
public void touch()
public long getLastAccess()
public boolean changeWorkingDirectory(String pathname) throws IOException
changeWorkingDirectory
in class org.apache.commons.net.ftp.FTPClient
IOException
public org.apache.commons.net.ftp.FTPFile getFTPFile(FTPResource res) throws IOException
IOException
public void registerFTPFile(FTPResource res, org.apache.commons.net.ftp.FTPFile file)
public void unregisterFTPFile(FTPResource res)
public boolean deleteFile(String pathname) throws IOException
deleteFile
in class org.apache.commons.net.ftp.FTPClient
IOException
Copyright © 2015 Lucee