|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object htsjdk.samtools.util.ftp.FTPClient
public class FTPClient
Field Summary | |
---|---|
static int |
READ_TIMEOUT
|
Constructor Summary | |
---|---|
FTPClient()
|
Method Summary | |
---|---|
FTPReply |
binary()
|
void |
closeDataStream()
|
FTPReply |
connect(java.lang.String host)
Connects to the given FTP host on the default port. |
void |
disconnect()
Disconnects from the host to which we are currently connected. |
FTPReply |
executeCommand(java.lang.String command)
Executes the given FTP command on our current connection, returning the three digit response code from the server. |
java.io.InputStream |
getDataStream()
|
FTPReply |
getReply()
|
FTPReply |
login(java.lang.String username,
java.lang.String password)
Wrapper for the commands user [username] and pass
[password] . |
FTPReply |
pasv()
|
FTPReply |
quit()
|
FTPReply |
retr(java.lang.String file)
|
void |
setRestPosition(long position)
|
FTPReply |
size(java.lang.String file)
Return the size of the remote file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int READ_TIMEOUT
Constructor Detail |
---|
public FTPClient()
Method Detail |
---|
public FTPReply connect(java.lang.String host) throws java.io.IOException
java.io.IOException
public FTPReply executeCommand(java.lang.String command) throws java.io.IOException
java.io.IOException
public FTPReply login(java.lang.String username, java.lang.String password) throws java.io.IOException
user [username]
and pass
[password]
.
java.io.IOException
public FTPReply quit() throws java.io.IOException
java.io.IOException
public FTPReply binary() throws java.io.IOException
java.io.IOException
public FTPReply pasv() throws java.io.IOException
java.io.IOException
public void setRestPosition(long position)
public FTPReply retr(java.lang.String file) throws java.io.IOException
java.io.IOException
public FTPReply getReply() throws java.io.IOException
java.io.IOException
public FTPReply size(java.lang.String file) throws java.io.IOException
file
-
java.io.IOException
public java.io.InputStream getDataStream() throws java.io.IOException
java.io.IOException
public void closeDataStream() throws java.io.IOException
java.io.IOException
public void disconnect()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |