log.info("Bytes transferred=" + cl.getBytesTransferred());
log.info("File partially uploaded (localsize=" + file.length()
+ " remotesize=" + len);
log.info("Completing upload by resuming");
ftp.uploadFile(name, name, WriteMode.RESUME);
len = (int) ftp.getSize(name);
// only the remaining bytes are transferred as can be seen
log.info("Bytes transferred=" + cl.getBytesTransferred());
log.info("File uploaded (localsize=" + file.length()