try {
// first check size and last modified
if (!base.checkModified(remoteFile)) {
remoteUpdated = false;
} else {
File temp = tmpFile.openTempFile();
copy = VaultFileCopy.copy(remoteFile, temp, lineFeed);
// if tmp is equal to the base one, there was no update on the server
if (copy.getMd5().equals(base.getMd5())) {
tmpFile.closeTempFile(tmpFile.length() >= 0);
remoteUpdated = false;