|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FTPException | |
---|---|
org.finj | Core classes for finj project. |
org.finj.profile |
Uses of FTPException in org.finj |
---|
Methods in org.finj that return FTPException | |
---|---|
static FTPException |
FTPException.createInvalidResponseException(java.lang.Object source,
int code,
java.lang.String cmd)
Utility routine that composes the message used for FTPException s. |
Methods in org.finj that throw FTPException | |
---|---|
void |
FTPClient.abortCommand()
This command tells the server to abort the previous FTP service command and any associated transfer of data. |
void |
FTPClient.allocateSpace(int bytes)
This command may be required by some servers to reserve sufficient storage to accomodate the new file to be transferred. |
void |
FTPClient.allocateSpace(int space,
int size)
This command works just as allocateSpace (int) , except that
it allows to set a second (optional) parameter that may be required for
files sent with record or page structure : a maximum record or page size. |
void |
FTPClient.appendToFile(java.io.InputStream data,
java.lang.String pathname)
This command causes the server-DTP to accept the data transferred and to store the data in a file at the server site. |
void |
FTPClient.appendToFile(java.io.InputStream data,
java.lang.String pathname,
boolean passive)
This command causes the server-DTP to accept the data transferred and to store the data in a file at the server site. |
boolean |
FTPClient.checkConnection()
This command does not affect any parameters or previously entered commands. |
void |
FTPClient.close()
This method terminates a user and if file transfer is not in progress, the server closes the control connection. |
void |
FTPClient.deleteFile(java.lang.String pathname)
This command causes the file specified as the pathname
parameter to be deleted at the server site. |
java.lang.String |
FTPClient.doSite(java.lang.String command)
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 |
FTPClient.getFile(java.io.OutputStream destination,
java.lang.String pathname)
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to this client. |
void |
FTPClient.getFile(java.io.OutputStream destination,
java.lang.String pathname,
boolean passive)
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to this client. |
RemoteFile[] |
FTPClient.getFileDescriptors()
Returns the complete description of the files in the current working directory. |
RemoteFile[] |
FTPClient.getFileDescriptors(boolean passive)
Returns the complete description of the files in the current working directory. |
RemoteFile[] |
FTPClient.getFileDescriptors(java.lang.String pathname)
Returns the complete description of the files in the directory specified by the path argument. |
RemoteFile[] |
FTPClient.getFileDescriptors(java.lang.String pathname,
boolean passive)
Returns the complete description of the files in the directory specified by the path argument. |
void |
FTPClient.getFileFrom(java.io.OutputStream destination,
java.lang.String pathname,
int position)
The position argument field represents the server marker
at which file transfer is to be restarted. |
java.lang.String[] |
FTPClient.getFileNames()
Returns a directory listing for the current working directory. |
java.lang.String[] |
FTPClient.getFileNames(boolean passive)
Returns a directory listing for the current working directory. |
java.lang.String[] |
FTPClient.getFileNames(java.lang.String pathname)
Returns a directory listing for the path provided as parameter. |
java.lang.String[] |
FTPClient.getFileNames(java.lang.String pathname,
boolean passive)
Returns a directory listing for the path provided as parameter. |
java.lang.String[] |
FTPClient.getServerStatus()
Returns the status response from the server. |
java.lang.String[] |
FTPClient.getServerStatus(java.lang.String pathname)
Returns the status response from the server. |
java.lang.String |
FTPClient.getServerSystemName()
Returns the type of operating system at the server, one of the system names listed in the current version of the 'Assigned Numbers Document' (as of 31-jul-00 : RFC1700). |
java.lang.String |
FTPClient.getWorkingDirectory()
This command causes the name of the current working directory to be returned. |
boolean |
FTPServerProfile.isCommandCompleted(FTPCommand command,
FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
boolean |
FTPServerProfile.isControlConnectionReady(FTPResponse response)
Checks if the response is the last that
one has to expect after establishing the control
connection with a server. |
boolean |
FTPServerProfile.isPostCommandCompleted(FTPCommand command,
FTPResponse response)
Checks if the response is the last that
one has to expect to end a command that
required a data connection setup and destruction. |
void |
FTPClient.login(java.lang.String user,
char[] pass)
Log to the current server using the provided login information. |
void |
FTPClient.logout()
This method terminates a user, flushing all I/O and account information, except to allow any transfer in progress to be completed. |
void |
FTPClient.makeDirectory(java.lang.String pathname)
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 |
FTPClient.mountStructure(java.lang.String system)
This command allows the user to mount a different file system data structure without altering his login or accounting information. |
void |
FTPClient.open(java.lang.String server)
Connects to the server through the
FTPConstants.DEFAULT_FTP_PORT . |
void |
FTPClient.open(java.lang.String server,
int port)
Connects to the server through the
provided port . |
java.lang.String[] |
FTPResponse.parseServerPassivePort()
Returns the host passive port parsed from the original text of response. |
protected FTPResponse |
FTPClient.processCommand(FTPCommand command)
Do all the job required when processing an FTP command, returning the last response received from the server. |
protected FTPResponse |
FTPClient.processPostCommand(FTPCommand command)
Do all the job required when processing an FTP command, returning the last response received from the server. |
void |
FTPClient.putFile(java.io.InputStream data,
java.lang.String pathname)
This command causes the server-DTP to accept the data transferred and to store the data as a file at the server site. |
void |
FTPClient.putFile(java.io.InputStream data,
java.lang.String pathname,
boolean passive)
This command causes the server-DTP to accept the data transferred and to store the data as a file at the server site. |
java.lang.String |
FTPClient.putUniqueFile(java.io.InputStream data)
This command behaves like putFile (InputStream, String)
except that the resultant file is to be created in the current
directory nder a name unique to that directory. |
java.lang.String |
FTPClient.putUniqueFile(java.io.InputStream data,
boolean passive)
This command behaves like putFile (InputStream, String)
except that the resultant file is to be created in the current
directory nder a name unique to that directory. |
void |
FTPClient.removeDirectory(java.lang.String pathname)
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 |
FTPClient.renameFile(java.lang.String from,
java.lang.String to)
This command causes a file to be renamed from its
old pathname to its new pathname. |
void |
FTPClient.setAccount(java.lang.String account)
The account data is used to indentify user's account, but is not necessarily related to the username used to log in, as some sites may require an account for login and others only for specific access, such as storing files. |
void |
FTPClient.setDataPort(byte host_1,
byte host_2,
byte host_3,
byte host_4,
byte port_1,
byte port_2)
Defines the HOST-PORT specification for the data port to be used in data connection. |
void |
FTPClient.setDataPort(int host,
short port)
Defines the HOST-PORT specification for the data port to be used in data connection. |
void |
FTPClient.setDataPort(short port)
Defines the HOST-PORT specification for the data port to be used in data connection. |
void |
FTPClient.setDataStructure(int structure)
In addition to different representation types, FTP allows the structure of a file to be specified. |
void |
FTPClient.setDataTransferMode(int mode)
There are three transmission mode available, one which formats the data and allows for restart procedures; one which also compresses the data for efficient transfer; and one which passes the data with little or no processing. |
void |
FTPClient.setDataType(int type)
Data representations are handled in FTP by a user specifying a representation type. |
void |
FTPClient.setDataType(int type,
int bytes)
Works just as setDataType (int) , except that if the type
is FTPConstants.LOCAL_DATA_TYPE , then the second parameter
(which is useless for the other types) must be the "logical byte size". |
void |
FTPClient.setWorkingDirectory(java.lang.String pathname)
This command allows the user to work with a different directory or dataset for file storage or retrieval without altering his login of accounting information. |
void |
FTPClient.setWorkingDirectoryUp()
This command is a special case of setWorkingDirectory (String) ,
and is included to simplify the implementation of programs for transferring
directory trees between operating systems having different syntaxes for
naming the parent directory. |
Constructors in org.finj that throw FTPException | |
---|---|
FTPClient(java.lang.String server)
Constructs a new instance of this class that will try to connect to the server
through the FTPConstants.DEFAULT_FTP_PORT . |
|
FTPClient(java.lang.String server,
int port)
Constructs a new instance of this class that will try to connect to the server
througn the provided port . |
|
FTPClient(java.lang.String server,
int port,
java.util.Locale locale)
Constructs a new instance of this class that will try to connect to the server
througn the provided port . |
|
FTPClient(java.lang.String server,
int port,
java.lang.String user,
char[] pass)
Constructs a new instance of this class that will try to connect to the server
through the provided port , and try
to log in using user and pass
login information. |
|
FTPClient(java.lang.String server,
int port,
java.lang.String user,
char[] pass,
java.util.Locale locale)
Constructs a new instance of this class that will try to connect to the server
through the provided port , and try
to log in using user and pass
login information. |
|
FTPClient(java.lang.String server,
java.util.Locale locale)
Constructs a new instance of this class that will try to connect to the server
through the FTPConstants.DEFAULT_FTP_PORT . |
|
FTPClient(java.lang.String server,
java.lang.String user,
char[] pass)
Constructs a new instance of this class that will try to connect to the server
through the FTPConstants.DEFAULT_FTP_PORT , and try
to log in using user and pass
login information. |
|
FTPClient(java.lang.String server,
java.lang.String user,
char[] pass,
java.util.Locale locale)
Constructs a new instance of this class that will try to connect to the server
through the FTPConstants.DEFAULT_FTP_PORT , and try
to log in using user and pass
login information. |
Uses of FTPException in org.finj.profile |
---|
Methods in org.finj.profile that throw FTPException | |
---|---|
protected boolean |
StrictFTPServerProfile.isABORCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isACCTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isALLOCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isAPPECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isCDUPCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
boolean |
StrictFTPServerProfile.isCommandCompleted(FTPCommand command,
FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
boolean |
StrictFTPServerProfile.isControlConnectionReady(FTPResponse response)
Checks if the response is the last that
one has to expect after establishing the control
connection with a server. |
protected boolean |
StrictFTPServerProfile.isCWDCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isDELECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isLISTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isMKDCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isMODECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isNLSTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isNOOPCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isPASSCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isPASVCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isPORTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isPostAPPECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
boolean |
StrictFTPServerProfile.isPostCommandCompleted(FTPCommand command,
FTPResponse response)
Checks if the response is the last that
one has to expect to end a command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPostLISTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPostNLSTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPostRETRCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPostSTORCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPostSTOUCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
StrictFTPServerProfile.isPWDCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isQUITCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isREINCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isRESTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isRETRCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isRMDCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isRNFRCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isRNTOCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSITECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSMNTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSTATCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSTORCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSTOUCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSTRUCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isSYSTCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isTYPECommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
protected boolean |
StrictFTPServerProfile.isUSERCommandCompleted(FTPResponse response)
Checks if the response is the last that
one has to expect for the command . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |