|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FTPException | |
com.enterprisedt.net.ftp | Contains classes for FTP client functionality. |
Uses of FTPException in com.enterprisedt.net.ftp |
Methods in com.enterprisedt.net.ftp that throw FTPException | |
protected void |
FTPClient.checkConnection(boolean shouldBeConnected)
Checks if the client has connected to the server and throws an exception if it hasn't. |
void |
FTPClient.login(java.lang.String user,
java.lang.String password)
Login into an account on the FTP server. |
void |
FTPClient.user(java.lang.String user)
Supply the user name to log into an account on the FTP server. |
void |
FTPClient.password(java.lang.String password)
Supplies the password for a previously supplied username to log into the FTP server. |
java.lang.String |
FTPClient.quote(java.lang.String command,
java.lang.String[] validCodes)
Issue arbitrary ftp commands to the FTP server. |
long |
FTPClient.size(java.lang.String remoteFile)
Get the size of a remote file. |
void |
FTPClient.resume()
Make the next file transfer (put or get) resume. |
void |
FTPClient.cancelResume()
Cancel the resume. |
void |
FTPClient.put(java.lang.String localPath,
java.lang.String remoteFile)
Put a local file onto the FTP server. |
void |
FTPClient.put(java.io.InputStream srcStream,
java.lang.String remoteFile)
Put a stream of data onto the FTP server. |
void |
FTPClient.put(java.lang.String localPath,
java.lang.String remoteFile,
boolean append)
Put a local file onto the FTP server. |
void |
FTPClient.put(java.io.InputStream srcStream,
java.lang.String remoteFile,
boolean append)
Put a stream of data onto the FTP server. |
void |
FTPClient.validateTransfer()
Validate that the put() or get() was successful. |
void |
FTPClient.put(byte[] bytes,
java.lang.String remoteFile)
Put data onto the FTP server. |
void |
FTPClient.put(byte[] bytes,
java.lang.String remoteFile,
boolean append)
Put data onto the FTP server. |
void |
FTPClient.get(java.lang.String localPath,
java.lang.String remoteFile)
Get data from the FTP server. |
void |
FTPClient.get(java.io.OutputStream destStream,
java.lang.String remoteFile)
Get data from the FTP server. |
byte[] |
FTPClient.get(java.lang.String remoteFile)
Get data from the FTP server. |
boolean |
FTPClient.site(java.lang.String command)
Run a site-specific command on the server. |
java.lang.String |
FTPClient.list(java.lang.String dirname)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String) |
java.lang.String |
FTPClient.list(java.lang.String dirname,
boolean full)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String,boolean) |
FTPFile[] |
FTPClient.dirDetails(java.lang.String dirname)
List a directory's contents as an array of FTPFile objects. |
java.lang.String[] |
FTPClient.dir()
List current directory's contents as an array of strings of filenames. |
java.lang.String[] |
FTPClient.dir(java.lang.String dirname)
List a directory's contents as an array of strings of filenames. |
java.lang.String[] |
FTPClient.dir(java.lang.String dirname,
boolean full)
List a directory's contents as an array of strings. |
void |
FTPClient.setType(FTPTransferType type)
Set the transfer type |
void |
FTPClient.delete(java.lang.String remoteFile)
Delete the specified remote file |
void |
FTPClient.rename(java.lang.String from,
java.lang.String to)
Rename a file or directory |
void |
FTPClient.rmdir(java.lang.String dir)
Delete the specified remote working directory |
void |
FTPClient.mkdir(java.lang.String dir)
Create the specified remote working directory |
void |
FTPClient.chdir(java.lang.String dir)
Change the remote working directory to that supplied |
java.util.Date |
FTPClient.modtime(java.lang.String remoteFile)
Get modification time for a remote file |
java.lang.String |
FTPClient.pwd()
Get the current remote working directory |
java.lang.String[] |
FTPClient.features()
Get the server supplied features |
java.lang.String |
FTPClient.system()
Get the type of the OS at the server |
java.lang.String |
FTPClient.help(java.lang.String command)
Get the help text for the specified command |
void |
FTPClient.quit()
Quit the FTP session |
FTPReply |
FTPControlSocket.validateReply(java.lang.String reply,
java.lang.String[] expectedReplyCodes)
Validate the response the host has supplied against the expected reply. |
FTPReply |
FTPControlSocket.validateReply(FTPReply reply,
java.lang.String[] expectedReplyCodes)
Validate the response the host has supplied against the expected reply. |
FTPReply |
FTPControlSocket.validateReply(FTPReply reply,
java.lang.String expectedReplyCode)
Validate the response the host has supplied against the expected reply. |
Constructors in com.enterprisedt.net.ftp that throw FTPException | |
FTPClient(java.lang.String remoteHost)
Constructor. |
|
FTPClient(java.lang.String remoteHost,
int controlPort)
Constructor. |
|
FTPClient(java.lang.String remoteHost,
int controlPort,
int timeout)
Constructor. |
|
FTPClient(java.lang.String remoteHost,
int controlPort,
int timeout,
java.lang.String encoding)
Constructor. |
|
FTPClient(java.net.InetAddress remoteAddr)
Constructor. |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort)
Constructor. |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort,
int timeout)
Constructor. |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort,
int timeout,
java.lang.String encoding)
Constructor. |
|
FTPControlSocket(java.net.Socket controlSock,
int timeout,
java.lang.String encoding,
FTPMessageListener messageListener)
Constructs a new FTPControlSocket using the given
Socket object. |
|
FTPFileFactory(java.lang.String system)
Constructor |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |