public interface FtpClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
java.io.OutputStream |
appendFileStream(java.lang.String relPath) |
boolean |
completePendingCommand() |
boolean |
deleteFile(java.lang.String relPath) |
void |
disconnect() |
default int |
getReplyCode() |
java.lang.String |
getReplyString() |
boolean |
isConnected() |
org.apache.commons.net.ftp.FTPFile[] |
listFiles(java.lang.String relPath) |
boolean |
makeDirectory(java.lang.String relPath) |
boolean |
removeDirectory(java.lang.String relPath) |
boolean |
rename(java.lang.String oldName,
java.lang.String newName) |
java.io.InputStream |
retrieveFileStream(java.lang.String relPath) |
java.io.InputStream |
retrieveFileStream(java.lang.String relPath,
long restartOffset) |
java.io.OutputStream |
storeFileStream(java.lang.String relPath) |
boolean isConnected()
throws FileSystemException
FileSystemExceptionvoid disconnect()
throws java.io.IOException
java.io.IOExceptionorg.apache.commons.net.ftp.FTPFile[] listFiles(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionboolean removeDirectory(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionboolean deleteFile(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionboolean rename(java.lang.String oldName,
java.lang.String newName)
throws java.io.IOException
java.io.IOExceptionboolean makeDirectory(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionboolean completePendingCommand()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream retrieveFileStream(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream retrieveFileStream(java.lang.String relPath,
long restartOffset)
throws java.io.IOException
java.io.IOExceptionjava.io.OutputStream appendFileStream(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionjava.io.OutputStream storeFileStream(java.lang.String relPath)
throws java.io.IOException
java.io.IOExceptionboolean abort()
throws java.io.IOException
java.io.IOExceptionjava.lang.String getReplyString()
throws java.io.IOException
java.io.IOExceptiondefault int getReplyCode()
throws java.io.IOException
java.io.IOException