Package htsjdk.samtools.util.ftp
Class FTPUtils
java.lang.Object
htsjdk.samtools.util.ftp.FTPUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FTPClientconnect(String host, String userInfo, UserPasswordInput userPasswordInput) Connect to an FTP serverstatic longgetContentLength(URL url) static booleanresourceAvailable(URL url)
-
Constructor Details
-
FTPUtils
public FTPUtils()
-
-
Method Details
-
resourceAvailable
-
getContentLength
- Throws:
IOException
-
connect
public static FTPClient connect(String host, String userInfo, UserPasswordInput userPasswordInput) throws IOException Connect to an FTP server- Parameters:
host-userInfo-userPasswordInput- Dialog with which a user can enter credentials, if login fails- Returns:
- Throws:
IOException
-