|
|||||||||
| Home >> All >> org >> [ finj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.finj
Interface FTPServerProfile

- public interface FTPServerProfile
The goal of this interface is to leave the possibility to handle servers that do not comply with the RFC959 strictly. Custom implementations of this interface will allow developpers to handle such non-conforming servers transparently. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Version:
- $Id: FTPServerProfile.java,v 1.2 2003/05/27 15:50:24 jiglesia Exp $
| Method Summary | |
boolean |
isCommandCompleted(FTPCommand command,
FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
boolean |
isControlConnectionReady(FTPResponse response)
Checks if the response is the last that
one has to expect after establishing the control
connection with a server. |
boolean |
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. |
| Method Detail |
isControlConnectionReady
public boolean isControlConnectionReady(FTPResponse response) throws FTPException
- Checks if the
responseis the last that one has to expect after establishing the control connection with a server.- Since:
- v1.2
isCommandCompleted
public boolean isCommandCompleted(FTPCommand command, FTPResponse response) throws FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPostCommandCompleted
public boolean isPostCommandCompleted(FTPCommand command, FTPResponse response) throws FTPException
- Checks if the
responseis the last that one has to expect to end acommandthat required a data connection setup and destruction. This method only applies to:org.finj.FTPCommand.APPEND_WITH_CREATEorg.finj.FTPCommand.NAME_LISTorg.finj.FTPCommand.STORE_FILEorg.finj.FTPCommand.STORE_UNIQUE_FILEFIXME:check that!
isCommandCompleted(org.finj.FTPCommand, org.finj.FTPResponse)which will be the one triggering the command execution and data connection opening.- Since:
- v1.0
|
|||||||||
| Home >> All >> org >> [ finj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC