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
FileSystemException
void disconnect() throws IOException
IOException
org.apache.commons.net.ftp.FTPFile[] listFiles(String relPath) throws IOException
IOException
boolean removeDirectory(String relPath) throws IOException
IOException
boolean deleteFile(String relPath) throws IOException
IOException
boolean rename(String oldName, String newName) throws IOException
IOException
boolean makeDirectory(String relPath) throws IOException
IOException
boolean completePendingCommand() throws IOException
IOException
InputStream retrieveFileStream(String relPath) throws IOException
IOException
InputStream retrieveFileStream(String relPath, long restartOffset) throws IOException
IOException
OutputStream appendFileStream(String relPath) throws IOException
IOException
OutputStream storeFileStream(String relPath) throws IOException
IOException
boolean abort() throws IOException
IOException
String getReplyString() throws IOException
IOException
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.