Package | Description |
---|---|
org.waarp.ftp.core.command |
Global classes that store all informations on implemented commands, arguments, reply codes.
|
org.waarp.ftp.core.data |
Classes implementing Data and Transfer status
When a transfer should occur, here are the steps: The connection is prepared through a PORT or PASV command. |
Modifier and Type | Method and Description |
---|---|
FtpCommandCode |
AbstractCommand.getCode() |
static FtpCommandCode |
FtpCommandCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpCommandCode[] |
FtpCommandCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FtpCommandCode.isDataConnectionUsageCommand(FtpCommandCode command)
True if the command is using a Data connection
|
static boolean |
FtpCommandCode.isExtensionCommand(FtpCommandCode command)
True if the command is an extension operation (XMD5, XCRC, XSHA1, ...)
|
static boolean |
FtpCommandCode.isListLikeCommand(FtpCommandCode command)
True if the command is a List like operation (LIST, NLST, MLSD, MLST, ...)
|
static boolean |
FtpCommandCode.isRetrLikeCommand(FtpCommandCode command)
True if the command is a Retrieve like operation (RETR, ...)
|
static boolean |
FtpCommandCode.isSpecialCommand(FtpCommandCode command)
True if the command is a special operation (QUIT, ABOR, NOOP, STAT, ...)
|
static boolean |
FtpCommandCode.isSslOrAuthCommand(FtpCommandCode command)
True if the command is Ssl related (AUTH, PBSZ, PROT, USER, PASS, ACCT)
|
static boolean |
FtpCommandCode.isStoreLikeCommand(FtpCommandCode command)
True if the command is a Store like operation (APPE, STOR, STOU, ...)
|
static boolean |
FtpCommandCode.isStorOrRetrLikeCommand(FtpCommandCode command)
True if the command is a Retrieve or Store like operation
|
Modifier and Type | Method and Description |
---|---|
FtpCommandCode |
FtpTransfer.getCommand() |
Modifier and Type | Method and Description |
---|---|
void |
FtpTransferControl.setNewFtpTransfer(FtpCommandCode command,
FtpFile file)
Add a new transfer to be executed.
|
void |
FtpTransferControl.setNewFtpTransfer(FtpCommandCode command,
List<String> list,
String path)
Add a new transfer to be executed.
|
Constructor and Description |
---|
FtpTransfer(FtpCommandCode command,
FtpFile file) |
FtpTransfer(FtpCommandCode command,
List<String> fileOrInfo,
String path) |
Copyright © 2009–2019 Waarp. All rights reserved.