Package dk.netarkivet.common.distribute
Class FTPConnectionManager
- java.lang.Object
-
- dk.netarkivet.common.distribute.FTPConnectionManager
-
- All Implemented Interfaces:
Serializable
public class FTPConnectionManager extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FTPConnectionManager(String ftpUserName, String ftpUserPassword, String ftpServerName, int ftpServerPort, int ftpRetries, int ftpDataTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.net.ftp.FTPClient
getFTPClient()
String
getFtpErrorMessage()
Get the reply code and string from the ftp client.String
getFtpServer()
-
-
-
Method Detail
-
getFtpErrorMessage
public String getFtpErrorMessage()
Get the reply code and string from the ftp client.- Returns:
- A string with the FTP servers last reply code and message.
-
getFTPClient
public org.apache.commons.net.ftp.FTPClient getFTPClient()
-
getFtpServer
public String getFtpServer()
-
-