public class FtpArgs extends Object
Constructor and Description |
---|
FtpArgs() |
Modifier and Type | Method and Description |
---|---|
String |
getAcct() |
int |
getCodeCommand() |
String |
getCommand() |
String |
getCwd() |
FilesystemBasedDigest.DigestAlgo |
getDigest() |
String |
getDigestCommand() |
String |
getFilename() |
String |
getFilepath() |
static FtpArgs |
getFtpArgs(String[] args)
"-file filepath
-to requestedHost -port port -user user -pwd pwd [-account account] [-mode active/passive] [-ssl no/implicit/explicit] [-cwd remotepath] [-digest (crc,md5,sha1)] [-pre extraCommand1 with ',' as separator of arguments] -command command from (get,put,append) [-post extraCommand2 with ',' as separator of arguments]" |
int |
getPort() |
String |
getPostArgs() |
String |
getPreArgs() |
String |
getPwd() |
String |
getRequested() |
int |
getSsl() |
String |
getUser() |
boolean |
isPassive() |
static void |
printHelp()
Print to standard output the help of this command
|
FtpArgs |
setAcct(String acct) |
FtpArgs |
setCodeCommand(int codeCommand) |
FtpArgs |
setCommand(String command) |
FtpArgs |
setCwd(String cwd) |
FtpArgs |
setDigest(FilesystemBasedDigest.DigestAlgo digest) |
FtpArgs |
setDigestCommand(String digestCommand) |
FtpArgs |
setFilename(String filename) |
FtpArgs |
setFilepath(String filepath) |
FtpArgs |
setPassive(boolean passive) |
FtpArgs |
setPort(int port) |
FtpArgs |
setPostArgs(String postArgs) |
FtpArgs |
setPreArgs(String preArgs) |
FtpArgs |
setPwd(String pwd) |
FtpArgs |
setRequested(String requested) |
FtpArgs |
setSsl(int ssl) |
FtpArgs |
setUser(String user) |
public static void printHelp()
public static FtpArgs getFtpArgs(String[] args) throws OpenR66RunnerErrorException
args
- must be already replaced values (getReplacedValue)OpenR66RunnerErrorException
public final String getFilepath()
public final String getFilename()
public final String getRequested()
public final int getPort()
public final FtpArgs setPort(int port)
public final String getUser()
public final String getPwd()
public final String getAcct()
public final boolean isPassive()
public final FtpArgs setPassive(boolean passive)
public final int getSsl()
public final FtpArgs setSsl(int ssl)
public final String getCwd()
public final FilesystemBasedDigest.DigestAlgo getDigest()
public final FtpArgs setDigest(FilesystemBasedDigest.DigestAlgo digest)
public final String getDigestCommand()
public final String getCommand()
public final int getCodeCommand()
public final FtpArgs setCodeCommand(int codeCommand)
public final String getPreArgs()
public final String getPostArgs()
Copyright © 2009–2022 Waarp. All rights reserved.