Interface FtpClient
- All Known Implementing Classes:
FTPClientWrapper
public interface FtpClient
What VFS expects from an ftp client to provide.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
abort()
appendFileStream
(String relPath) boolean
boolean
deleteFile
(String relPath) void
boolean
org.apache.commons.net.ftp.FTPFile[]
boolean
makeDirectory
(String relPath) boolean
removeDirectory
(String relPath) boolean
retrieveFileStream
(String relPath) retrieveFileStream
(String relPath, long restartOffset) storeFileStream
(String relPath)
-
Method Details
-
isConnected
- Throws:
FileSystemException
-
disconnect
- Throws:
IOException
-
listFiles
- Throws:
IOException
-
removeDirectory
- Throws:
IOException
-
deleteFile
- Throws:
IOException
-
rename
- Throws:
IOException
-
makeDirectory
- Throws:
IOException
-
completePendingCommand
- Throws:
IOException
-
retrieveFileStream
- Throws:
IOException
-
retrieveFileStream
- Throws:
IOException
-
appendFileStream
- Throws:
IOException
-
storeFileStream
- Throws:
IOException
-
abort
- Throws:
IOException
-
getReplyString
- Throws:
IOException
-