openr66.client
Class SubmitTransfer
java.lang.Object
openr66.client.AbstractTransfer
openr66.client.SubmitTransfer
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TestSubmitTransfer
public class SubmitTransfer
- extends AbstractTransfer
Client to submit a transfer
- Author:
- Frederic Bregier
Fields inherited from class openr66.client.AbstractTransfer |
block, blocksize, dateFormat, fileinfo, fileInfo, filename, future, id, idt, ismd5, isMD5, localFilename, logger, nolog, remoteHost, rhost, rule, rulename, startTime, ttimestart |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmitTransfer
public SubmitTransfer(R66Future future,
String remoteHost,
String filename,
String rulename,
String fileinfo,
boolean isMD5,
int blocksize,
long id,
Timestamp starttime)
run
public void run()
main
public static void main(String[] args)
- Parameters:
args
- configuration file, the remoteHost Id, the file to transfer,
the rule, file transfer information as arguments and
optionally isMD5=1 for true or 0 for false(default)
and the blocksize if different than default
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.