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 String getFilepath()
public String getFilename()
public String getRequested()
public int getPort()
public FtpArgs setPort(int port)
public String getUser()
public String getPwd()
public String getAcct()
public boolean isPassive()
public FtpArgs setPassive(boolean passive)
public int getSsl()
public FtpArgs setSsl(int ssl)
public String getCwd()
public FilesystemBasedDigest.DigestAlgo getDigest()
public FtpArgs setDigest(FilesystemBasedDigest.DigestAlgo digest)
public String getDigestCommand()
public String getCommand()
public int getCodeCommand()
public FtpArgs setCodeCommand(int codeCommand)
public String getPreArgs()
public String getPostArgs()
Copyright © 2009–2020 Waarp. All rights reserved.