Esempio n. 1
0
        public void NotifyFileInCloud(string fileName)
        {
            LogEntry inCloudEntry = LogExtensions.CreateLogEntry(FileTransferStatus.NewFileInCloud);

            inCloudEntry.Instructions = fileName;
            File.AppendAllText(FilePath, inCloudEntry.ToCSV());
        }
Esempio n. 2
0
        public void RequestSync(string identifier)
        {
            LogEntry syncRequest = LogExtensions.CreateLogEntry(FileTransferStatus.SyncRequested);

            syncRequest.Instructions = identifier;
            File.AppendAllText(FilePath, syncRequest.ToCSV());
        }
Esempio n. 3
0
 public void NotifyComplete()
 {
     File.AppendAllText(FilePath, LogExtensions.CreateLogEntry(FileTransferStatus.TransferComplete).ToCSV());
 }
Esempio n. 4
0
 public void NotifyOnHold()
 {
     File.AppendAllText(FilePath, LogExtensions.CreateLogEntry(FileTransferStatus.ModifyOpsOnHold).ToCSV());
 }