public bool RemoveTempFileName(string srcFile) { bool success = true; IAPL.Transport.Operation.Network netOperation = new IAPL.Transport.Operation.Network(); if (!netOperation.DeleteRemoteFile(srcFile)) { success = false; this.ErrorMessage = netOperation.ErrorMessage; } return(success); }
public bool backupFileFrom(string srcFile, string desFile) { bool success = true; success = this.copyFile(srcFile, desFile); if (success) { IAPL.Transport.Operation.Network netOperation = new IAPL.Transport.Operation.Network(); if (!netOperation.DeleteRemoteFile(srcFile)) { success = false; this.ErrorMessage = netOperation.ErrorMessage; } } else { success = false; } return(success); }