public class FtpMkdirCommand extends FtpCommand
Constructor and Description |
---|
FtpMkdirCommand()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
createFolder(FtpServer server,
FtpServerChannel channel,
FtpSession psession,
String folderPath)
Create Folder.
|
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 void execute(FtpServerChannel channel, String cmdKey, Argument[] flags, Argument[] args) throws FtpException, FdkException, Exception
execute
in class FtpCommand
FtpException
FdkException
Exception
protected void createFolder(FtpServer server, FtpServerChannel channel, FtpSession psession, String folderPath) throws Exception
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.