org.apache.commons.vfs2.provider.ftp
Interface FtpClient
public interface FtpClient
What VFS expects from an ftp client to provide.
- Author:
- Commons VFS team
isConnected
boolean isConnected()
throws FileSystemException
- Throws:
FileSystemException
disconnect
void disconnect()
throws IOException
- Throws:
IOException
listFiles
org.apache.commons.net.ftp.FTPFile[] listFiles(String relPath)
throws IOException
- Throws:
IOException
removeDirectory
boolean removeDirectory(String relPath)
throws IOException
- Throws:
IOException
deleteFile
boolean deleteFile(String relPath)
throws IOException
- Throws:
IOException
rename
boolean rename(String oldName,
String newName)
throws IOException
- Throws:
IOException
makeDirectory
boolean makeDirectory(String relPath)
throws IOException
- Throws:
IOException
completePendingCommand
boolean completePendingCommand()
throws IOException
- Throws:
IOException
retrieveFileStream
InputStream retrieveFileStream(String relPath)
throws IOException
- Throws:
IOException
retrieveFileStream
InputStream retrieveFileStream(String relPath,
long restartOffset)
throws IOException
- Throws:
IOException
appendFileStream
OutputStream appendFileStream(String relPath)
throws IOException
- Throws:
IOException
storeFileStream
OutputStream storeFileStream(String relPath)
throws IOException
- Throws:
IOException
abort
boolean abort()
throws IOException
- Throws:
IOException
getReplyString
String getReplyString()
throws IOException
- Throws:
IOException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.