public class IcapTask extends AbstractTask
List of arguments will be as follow.
-file filename
-to hostname
[-port port, default 1344]
-service name | -model name
[-previewSize size, default none]
[-blockSize size, default 8192]
[-receiveSize size, default 65536]
[-maxSize size, default MAX_INTEGER]
[-timeout in_ms, default equiv to 10 min]
[-keyPreview key -stringPreview string, default none]
[-key204 key -string204 string, default none]
[-key200 key -string200 string, default none]
[-stringHttp string, default none]
[-logger DEBUG|INFO|WARN|ERROR, default none]
[-errorMove path | -errorDelete | -sendOnError]
[-ignoreNetworkError]
[-ignoreTooBigFileError]
Then if r66send command in case of -sendOnError option is specified, the
very last option of ICAP must be "--" then followed by usual r66send
options.
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)] [-nofollow)
[-copyinfo] [-info information]"
INFO is the only one field that can contains blank character.
Example:
-file #TRUEFULLPATH# -to hostname -service name -previewSize size
-blockSize size -receiveSize size -maxSize size -timeout in_ms -keyPreview
key -stringPreview string -key204 key -string204 string -key200 key
-string200 string -stringHttp string -logger WARN -errorDelete
-ignoreNetworkError
-file #TRUEFULLPATH# -to hostname -model name -previewSize size
-blockSize size -receiveSize size -maxSize size -timeout in_ms -keyPreview
key -stringPreview string -key204 key -string204 string -key200 key
-string200 string -stringHttp string -logger WARN -errorMove path
-ignoreNetworkError
-file #TRUEFULLPATH# -to hostname -model name -previewSize size
-blockSize size -receiveSize size -maxSize size -timeout in_ms -keyPreview
key -stringPreview string -key204 key -string204 string -key200 key
-string200 string -stringHttp string -logger WARN -sendOnError
-ignoreNetworkError -- -file #TRUEFULLPATH# -to
requestedHost -rule rule [-copyinfo] [-info information]
ARCHPATH, BLANK, BLOCKSIZE, COMPRESS, 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 |
---|
IcapTask(String argRule,
int delay,
String argTransfer,
R66Session session) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
applyTransferSubstitutions, getFutureCompletion, getReplacedValue, getSubstitutionMap, getType, isCompressionRequested, isSuccess
public IcapTask(String argRule, int delay, String argTransfer, R66Session session)
argRule
- delay
- argTransfer
- session
- Copyright © 2009–2022 Waarp. All rights reserved.