|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FtpException | |
org.mortbay.ftp |
Uses of FtpException in org.mortbay.ftp |
Subclasses of FtpException in org.mortbay.ftp | |
class |
FtpCmdStreamException
|
class |
FtpReplyException
|
Methods in org.mortbay.ftp that throw FtpException | |
void |
Ftp.open(java.net.InetAddress hostAddr)
Open connection |
void |
Ftp.open(java.net.InetAddress hostAddr,
int port)
Open connection |
void |
Ftp.authenticate(java.lang.String username,
java.lang.String password)
Authenticate User |
void |
Ftp.setType(char type)
Set the connection data type. |
void |
Ftp.setType(char type,
char param)
Set the connection data type. |
void |
Ftp.setType(int length)
Set the connection data type to Local. |
boolean |
Ftp.transferComplete()
Command complete query |
void |
Ftp.waitUntilTransferComplete()
Wait until Transfer is complete. |
void |
Ftp.startGet(java.lang.String remoteName,
java.lang.String localName)
Start get file Start a file transfer remote file to local file. |
java.io.InputStream |
Ftp.startGet(java.lang.String remoteName)
Start get file Start a file transfer remote file to local inputStream. |
void |
Ftp.startGet(java.lang.String remoteName,
java.io.OutputStream destination)
Start get file Start a file transfer remote file to local file. |
void |
Ftp.startPut(java.lang.String localName,
java.lang.String remoteName)
Start put file Start a file transfer local file to input remote file. |
java.io.OutputStream |
Ftp.startPut(java.lang.String remoteName)
Start put file Start a file transfer local file to input remote file. |
void |
Ftp.startPut(java.io.InputStream source,
java.lang.String remoteName)
Start put file Start a file transfer local file to input remote file. |
void |
Ftp.startPasvGet(java.lang.String remoteName,
java.lang.String localName)
Start passive get file Start a file transfer remote file to local file. |
java.io.InputStream |
Ftp.startPasvGet(java.lang.String remoteName)
|
void |
Ftp.startPasvGet(java.lang.String remoteName,
java.io.OutputStream destination)
|
void |
Ftp.startPasvPut(java.lang.String localName,
java.lang.String remoteName)
Start passive put file Start a file transfer local file to input remote file. |
void |
Ftp.startPasvPut(java.io.InputStream source,
java.lang.String remoteName)
|
void |
Ftp.mkdir(java.lang.String remoteName)
Create remote directory |
void |
Ftp.sendFile(java.lang.String srcName,
java.net.InetAddress destAddr,
int destPort,
java.lang.String username,
java.lang.String password,
java.lang.String destName)
send file Do a file transfer remote file to remote file on another server. |
java.lang.String |
Ftp.workingDirectory()
Report remote working directory |
void |
Ftp.workingDirectory(java.lang.String dir)
Set remote working directory |
void |
Ftp.rename(java.lang.String oldName,
java.lang.String newName)
Rename remote file |
void |
Ftp.delete(java.lang.String remoteName)
Delete remote file |
void |
Ftp.abort()
Abort transfer command |
java.util.Vector |
Ftp.list()
Get list files in remote working directory |
java.lang.String |
Ftp.status()
Get remote server status |
void |
Ftp.getUrl(java.lang.String url,
java.io.OutputStream out)
Get file from a URL spec |
void |
Ftp.rmdir(java.lang.String remoteName)
Delete remote directory |
java.lang.String |
Ftp.getLastModifiedTime(java.lang.String remoteName)
|
java.util.Vector |
Ftp.list(java.lang.String mask)
Get a directory listing from the remote server. |
Constructors in org.mortbay.ftp that throw FtpException | |
Ftp(java.net.InetAddress hostAddr,
java.lang.String username,
java.lang.String password)
Ftp constructor Construct an FTP endpoint, open the default command port and authenticate the user. |
|
Ftp(java.net.InetAddress hostAddr,
int port,
java.lang.String username,
java.lang.String password)
Ftp constructor Construct an FTP endpoint, open the command port and authenticate the user. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |