public class TransferTask extends AbstractExecTask
Result of arguments will be as r66send command.
Format is like r66send command in any order except "-info" which should be
the last item, and "-copyinfo"
will copy at first place the original transfer information as the new one,
while still having the
possibility to add new informations through "-info":
"-file filepath -to requestedHost -rule rule [-md5] [-start yyyyMMddHHmmss or
-delay (delay or +delay)]
[-copyinfo] [-info information]"
INFO is the only one field that can contains blank character.
ARCHPATH, BLANK, BLOCKSIZE, DATE, ERRORCODE, ERRORMSG, ERRORSTRCODE, FILESIZE, FULLTRANSFERID, HOMEPATH, HOUR, INPATH, LOCALEXEC, LOCALHOST, LOCALHOSTADDR, NOWAIT, ORIGINALFILENAME, ORIGINALFULLPATH, OUTPATH, RANKTRANSFER, REMOTEHOST, REMOTEHOSTADDR, REQUESTEDHOST, REQUESTERHOST, RULE, TRANSFERID, TRUEFILENAME, TRUEFULLPATH, WORKPATH
Constructor and Description |
---|
TransferTask(String argRule,
int delay,
String argTransfer,
R66Session session) |
Modifier and Type | Method and Description |
---|---|
void |
run()
This is the only interface to execute an operator.
|
applyTransferSubstitutions, buildCommandLine, getSubstitutionMap
getFutureCompletion, getReplacedValue, getType, isSuccess
public TransferTask(String argRule, int delay, String argTransfer, R66Session session)
argRule
- delay
- argTransfer
- session
- public void run()
AbstractTask
run
in interface Runnable
run
in class AbstractTask
Copyright © 2009–2020 Waarp. All rights reserved.