|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FtpProtocolException in ftp2me |
---|
Methods in ftp2me that throw FtpProtocolException | |
---|---|
boolean |
Ftp2Me.abor()
Abort This command tells the server to abort the previous FTP service command and any associated transfer of data. |
void |
Ftp2Me.acct(java.lang.String account)
Account The argument field is a Telnet string identifying the user’s account. |
boolean |
Ftp2Me.allo(long size,
long maxRecordSize)
Allocate This command may be required by some servers to reserve sufficient storage to accommodate the new file to be transferred. |
void |
Ftp2Me.appe(java.io.InputStream is,
java.lang.String filename)
Append (with create) This command causes the server-DTP to accept the data transferred via the data connection and to store the data in a file at the server site. |
void |
Ftp2Me.cdup()
Change to parent directory This command is a special case of CWD, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory. |
void |
Ftp2Me.cwd(java.lang.String dir)
Changes the working directory This command allows the user to work with a different directory or dataset for file storage or retrieval without altering his login or accounting information. |
void |
Ftp2Me.dele(java.lang.String filename)
Delete This command causes the file specified in the pathname to be deleted at the server site. |
void |
Ftp2Me.expectResponse(int expectedCode)
Gets a response. |
void |
Ftp2Me.help(java.lang.String command)
Help This command shall cause the server to send helpful information regarding its implementation status over the control connection to the user. |
java.util.Enumeration |
Ftp2Me.list()
List This command causes a list to be sent from the server to the passive DTP. |
void |
Ftp2Me.mkd(java.lang.String pathname)
Make directory This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative). |
void |
Ftp2Me.mode(char mode)
Transfer mode The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes. |
java.util.Enumeration |
Ftp2Me.nlst()
Name list This command causes a directory listing to be sent from server to user site. |
void |
Ftp2Me.noop()
No operation This command does not affect any parameters or previously entered commands. |
void |
Ftp2Me.pass(java.lang.String pass)
Password The argument field is a Telnet string specifying the user’s password. |
PasvInfo |
Ftp2Me.pasv()
Passive This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for h1 connection rather than initiate one upon receipt of h1 transfer command. |
void |
Ftp2Me.port(int h1,
int h2,
int h3,
int h4,
int port)
Data port The argument is a HOST-PORT specification for the data port to be used in data connection. |
java.lang.String |
Ftp2Me.pwd()
Print working directory This command causes the name of the current working directory to be returned in the reply. |
void |
Ftp2Me.quit()
Quit This command terminates a USER and if file transfer is not in progress, the server closes the control connection. |
void |
Ftp2Me.rein()
Reinitialize This command terminates a USER, flushing all I/O and account information, except to allow any transfer in progress to be completed. |
void |
Ftp2Me.rest(java.lang.String marker)
Restart file transfer The argument field represents the server marker at which file transfer is to be restarted. |
void |
Ftp2Me.retr(java.io.OutputStream outputStream,
java.lang.String filename)
Retrieve This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to the server- or user-DTP at the other end of the data connection. |
void |
Ftp2Me.rmd(java.lang.String pathname)
Remove directory This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative). |
void |
Ftp2Me.rnfr(java.lang.String pathname)
Rename from This command specifies the old pathname of the file which is to be renamed. |
void |
Ftp2Me.rnto(java.lang.String pathname)
Rename to This command specifies the new pathname of the file specified in the immediately preceding "rename from" command. |
void |
Ftp2Me.site()
Site parameters This command is used by the server to provide services specific to his system that are essential to file transfer but not sufficiently universal to be included as commands in the protocol. |
void |
Ftp2Me.smnt(java.lang.String pathname)
Structure mount This command allows the user to mount a different file system data structure without altering his login or accounting information. |
void |
Ftp2Me.stat(java.lang.String pathname)
Status This command shall cause a status response to be sent over the control connection in the form of a reply. |
void |
Ftp2Me.stor(java.io.InputStream is,
java.lang.String filename)
Store This command causes the server-DTP to accept the data transferred via the data connection and to store the data as a file at the server site. |
void |
Ftp2Me.stou(java.io.InputStream is,
java.lang.String filename)
Store unique This command behaves like STOR except that the resultant file is to be created in the current directory under a name unique to that directory. |
void |
Ftp2Me.stru(char structure)
File structure The argument is a single Telnet character code specifying file structure described in the Section on Data Representation and Storage. |
void |
Ftp2Me.syst()
System This command is used to find out the type of operating system at the server. |
void |
Ftp2Me.type(char type)
Calls type(type, 8) ( see type(char type, int bytesize) ) |
void |
Ftp2Me.type(char type,
int bytesize)
Set transfer type. |
void |
Ftp2Me.user(java.lang.String user)
User name The argument field is a Telnet string identifying the user. |
Constructors in ftp2me that throw FtpProtocolException | |
---|---|
Ftp2Me(java.lang.String host)
Create an instance of Ftp2Me. |
|
Ftp2Me(java.lang.String host,
int port)
Create an instance of Ftp2Me. |
|
Ftp2Me(java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass)
Create an instance of Ftp2Me. |
|
Ftp2Me(java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass,
java.lang.String acct)
Create an instance of Ftp2Me. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |