public void NotifyFileInCloud(string fileName) { LogEntry inCloudEntry = LogExtensions.CreateLogEntry(FileTransferStatus.NewFileInCloud); inCloudEntry.Instructions = fileName; File.AppendAllText(FilePath, inCloudEntry.ToCSV()); }
public void RequestSync(string identifier) { LogEntry syncRequest = LogExtensions.CreateLogEntry(FileTransferStatus.SyncRequested); syncRequest.Instructions = identifier; File.AppendAllText(FilePath, syncRequest.ToCSV()); }
public void NotifyComplete() { File.AppendAllText(FilePath, LogExtensions.CreateLogEntry(FileTransferStatus.TransferComplete).ToCSV()); }
public void NotifyOnHold() { File.AppendAllText(FilePath, LogExtensions.CreateLogEntry(FileTransferStatus.ModifyOpsOnHold).ToCSV()); }