|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.hermesftp.cmd.AbstractFtpCmd
net.sf.hermesftp.cmd.impl.FtpCmdMode
public class FtpCmdMode
TRANSFER MODE (MODE)
The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes. The following codes are assigned for transfer modes:
[Excerpt from RFC-959, Postel and Reynolds]
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
FtpCmdMode()
|
|
| Method Summary | |
|---|---|
void |
execute()
Currently stream and block modes are supported. |
java.lang.String |
getHelp()
Returns a short help text for the command. |
boolean |
isAuthenticationRequired()
Returns whether authentication is needed or not. |
| Methods inherited from class net.sf.hermesftp.cmd.AbstractFtpCmd |
|---|
getAbsPath, getAndResetFileOffset, getArguments, getCtx, getPathArg, getPermission, getToken, handleAsyncCmd, isResponded, msg, msg, msg, msgOut, msgOut, msgOut, out, setArguments, setCtx, setToken |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FtpCmdMode()
| Method Detail |
|---|
public void execute()
throws FtpCmdException
FtpCmdException - Thrown on any exception occuring while the command is executed.public java.lang.String getHelp()
public boolean isAuthenticationRequired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||