Package com.adaptris.ftp
Interface FtpFileTransferClient
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,FileTransferClient
- All Known Implementing Classes:
ApacheFtpClientImpl
,CommonsNetFtpClient
,CommonsNetFtpSslClient
public interface FtpFileTransferClient extends FileTransferClient
Extension toFileTransferClient
specifically for FTP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(java.lang.String user, java.lang.String password, java.lang.String account)
Connect and login into an account on the FTP server.-
Methods inherited from interface com.adaptris.filetransfer.FileTransferClient
chdir, close, connect, delete, dir, dir, dir, dir, disconnect, get, get, get, getKeepAliveTimeout, isConnected, isDirectory, lastModified, lastModifiedDate, mkdir, put, put, put, put, put, put, rename, rmdir, setAdditionalDebug, setKeepAliveTimeout
-
-
-
-
Method Detail
-
connect
void connect(java.lang.String user, java.lang.String password, java.lang.String account) throws java.io.IOException, FileTransferException
Connect and login into an account on the FTP server. This completes the entire login process- Parameters:
user
- user namepassword
- user's passwordaccount
- the account- Throws:
FileTransferException
- if an FTP specific exception occursjava.io.IOException
- if a comms error occurs
-
-