FileService srcfilep = null;
byte[] buf = null;
FileAgent srcf = findFileAgent(srcmachine);
try {
srcfilep = srcf.open(srcfile, FileAgent.READ);
// Now loop, reading from src and writing to dest
while (true) {
buf = srcfilep.readBytes(1000000);
// logger.info(" Read " + buf);