public class FtpCdupCommand extends FtpCommand
Modifier and Type | Field and Description |
---|---|
protected static String |
UP_DIRECTORY_TOKEN
Up directory token.
|
Constructor and Description |
---|
FtpCdupCommand()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(FtpServerChannel channel,
String cmdKey,
Argument[] flags,
Argument[] args)
Execute a command.
|
protected void |
handleException(FtpServerChannel channel,
Exception exception,
String cmdKey)
Handle error.
|
checkLoggedIn, denyGuestAccessForWriteableCommands, encodeArgument, formatCmdline, getHomeFolderPath, getPotentialArgs, getPotentialFlags, normalizePath, run
protected static final String UP_DIRECTORY_TOKEN
protected void execute(FtpServerChannel channel, String cmdKey, Argument[] flags, Argument[] args) throws FtpException, FdkException, Exception
execute
in class FtpCommand
FtpException
FdkException
Exception
protected void handleException(FtpServerChannel channel, Exception exception, String cmdKey) throws Exception
handleException
in class FtpCommand
channel
- the server channelexception
- exception objectcmdKey
- the command attemptedException
Copyright © 2023. All rights reserved.