|
|||||||||
| Home >> All >> com >> enterprisedt >> net >> [ ftp overview ] | PREV NEXT | ||||||||
Uses of Class
com.enterprisedt.net.ftp.FTPException
| Uses of FTPException in com.enterprisedt.net.ftp |
| Methods in com.enterprisedt.net.ftp that throw FTPException | |
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. |
void |
FTPClient.quote(java.lang.String command,
java.lang.String[] validCodes)
Issue arbitrary ftp commands to the FTP server. |
void |
FTPClient.put(java.lang.String localPath,
java.lang.String remoteFile)
Put a local file 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. |
private void |
FTPClient.initPut(java.lang.String remoteFile,
boolean append)
Request the server to set up the put |
private void |
FTPClient.putASCII(java.lang.String localPath,
java.lang.String remoteFile,
boolean append)
Put as ASCII, i.e. |
private void |
FTPClient.putBinary(java.lang.String localPath,
java.lang.String remoteFile,
boolean append)
Put as binary, i.e. |
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. |
private void |
FTPClient.initGet(java.lang.String remoteFile)
Request to the server that the get is set up |
private void |
FTPClient.getASCII(java.lang.String localPath,
java.lang.String remoteFile)
Get as ASCII, i.e. |
private void |
FTPClient.getBinary(java.lang.String localPath,
java.lang.String remoteFile)
Get as binary file, i.e. |
java.io.InputStream |
FTPClient.get(java.lang.String remoteFile,
long byteSkip)
Get data from the FTP server. |
int |
FTPClient.getFileSize(java.lang.String remoteFile)
|
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 mask)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String) 55 |
java.lang.String |
FTPClient.list(java.lang.String mask,
boolean full)
Deprecated. As of FTP 1.1, replaced by FTPClient.dir(String,boolean) 55 |
java.lang.String[] |
FTPClient.dir(java.lang.String mask)
List a directory's contents as an array of strings of filenames. |
java.lang.String[] |
FTPClient.dir(java.lang.String mask,
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.lang.String |
FTPClient.pwd()
Get the current remote working directory |
java.lang.String |
FTPClient.system()
Get the type of the OS at the server |
void |
FTPClient.quit()
Quit the FTP session |
private void |
FTPControlSocket.validateConnection()
Checks that the standard 220 reply is returned following the initiated connection |
(package private) FTPDataSocket |
FTPControlSocket.createDataSocket(FTPConnectMode connectMode)
Request a data socket be created on the server, connect to it and return our connected socket. |
(package private) java.net.ServerSocket |
FTPControlSocket.createDataSocketActive()
Request a data socket be created on the Client client on any free port, do not connect it to yet. |
private void |
FTPControlSocket.setDataPort(java.net.InetAddress host,
short portNo)
Sets the data port on the server, i.e. |
(package private) java.net.Socket |
FTPControlSocket.createDataSocketPASV()
Request a data socket be created on the server, connect to it and return our connected socket. |
(package private) void |
FTPControlSocket.validateReply(java.lang.String reply,
java.lang.String expectedReplyCode)
Validate the response the host has supplied against the expected reply. |
(package private) void |
FTPControlSocket.validateReply(java.lang.String reply,
java.lang.String[] expectedReplyCodes)
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.net.InetAddress remoteAddr)
Constructor. |
|
FTPClient(java.net.InetAddress remoteAddr,
int controlPort)
Constructor. |
|
FTPControlSocket(java.lang.String remoteHost)
Constructor. |
|
FTPControlSocket(java.lang.String remoteHost,
int controlPort)
Constructor. |
|
FTPControlSocket(java.net.InetAddress remoteAddr)
Constructor. |
|
FTPControlSocket(java.net.InetAddress remoteAddr,
int controlPort)
Constructor. |
|
|
|||||||||
| Home >> All >> com >> enterprisedt >> net >> [ ftp overview ] | PREV NEXT | ||||||||