public interface FtpClient
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
OutputStream |
appendFileStream(String relPath) |
boolean |
completePendingCommand() |
boolean |
deleteFile(String relPath) |
void |
disconnect() |
String |
getReplyString() |
boolean |
isConnected() |
org.apache.commons.net.ftp.FTPFile[] |
listFiles(String relPath) |
boolean |
makeDirectory(String relPath) |
boolean |
removeDirectory(String relPath) |
boolean |
rename(String oldName,
String newName) |
InputStream |
retrieveFileStream(String relPath) |
InputStream |
retrieveFileStream(String relPath,
long restartOffset) |
OutputStream |
storeFileStream(String relPath) |
boolean isConnected()
throws FileSystemException
FileSystemExceptionvoid disconnect()
throws IOException
IOExceptionorg.apache.commons.net.ftp.FTPFile[] listFiles(String relPath) throws IOException
IOExceptionboolean removeDirectory(String relPath) throws IOException
IOExceptionboolean deleteFile(String relPath) throws IOException
IOExceptionboolean rename(String oldName, String newName) throws IOException
IOExceptionboolean makeDirectory(String relPath) throws IOException
IOExceptionboolean completePendingCommand()
throws IOException
IOExceptionInputStream retrieveFileStream(String relPath) throws IOException
IOExceptionInputStream retrieveFileStream(String relPath, long restartOffset) throws IOException
IOExceptionOutputStream appendFileStream(String relPath) throws IOException
IOExceptionOutputStream storeFileStream(String relPath) throws IOException
IOExceptionboolean abort()
throws IOException
IOExceptionString getReplyString() throws IOException
IOExceptionCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.