Package tv.hd3g.transfertfiles.ftp
Class FTPESFileSystem
java.lang.Object
tv.hd3g.transfertfiles.CommonAbstractFileSystem<FTPFile>
tv.hd3g.transfertfiles.ftp.FTPFileSystem
tv.hd3g.transfertfiles.ftp.FTPESFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable,AbstractFileSystem<FTPFile>
- Direct Known Subclasses:
FTPSFileSystem
FTP TLS/SSL explicit client
-
Field Summary
Fields inherited from class tv.hd3g.transfertfiles.ftp.FTPFileSystem
host, port, usernameFields inherited from class tv.hd3g.transfertfiles.CommonAbstractFileSystem
timeoutDuration -
Constructor Summary
ConstructorsConstructorDescriptionFTPESFileSystem(InetAddress host, int port, String username, char[] password, boolean passiveMode, boolean ignoreInvalidCertificates, String basePath) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.apache.commons.net.ftp.FTPClientbooleantoString()Methods inherited from class tv.hd3g.transfertfiles.ftp.FTPFileSystem
checkIsPositiveCompletion, close, connect, getFromPath, getFtpListing, getHost, getIOBufferSize, getUsername, isAvaliable, isPassiveMode, isReusable, reusableHashCode, setFtpListingMethods inherited from class tv.hd3g.transfertfiles.CommonAbstractFileSystem
equals, getBasePath, getPathFromRelative, getTimeout, hashCode, setTimeoutMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tv.hd3g.transfertfiles.AbstractFileSystem
getFromPath
-
Constructor Details
-
FTPESFileSystem
public FTPESFileSystem(InetAddress host, int port, String username, char[] password, boolean passiveMode, boolean ignoreInvalidCertificates, String basePath)
-
-
Method Details
-
getClient
public org.apache.commons.net.ftp.FTPClient getClient()- Overrides:
getClientin classFTPFileSystem
-
toString
- Overrides:
toStringin classFTPFileSystem
-
isIgnoreInvalidCertificates
public boolean isIgnoreInvalidCertificates() -
afterLogin
- Overrides:
afterLoginin classFTPFileSystem- Throws:
IOException
-