Example #1
0
 private void DeleteFile(string path, string relativePath)
 {
     awsS3Client.DeleteItem(syncConfiguration.ServerPath, relativePath);
     ServiceUtils.WriteLog(string.Format("File: {0} deleted from bucket: {1}, path: {2}", path, syncConfiguration.ServerPath, relativePath));
 }
Example #2
0
 private void UploadFile(string path, string relativePath)
 {
     awsS3Client.UploadFile(syncConfiguration.ServerPath, path, relativePath);
     ServiceUtils.WriteLog(string.Format("File: {0} updated in bucket: {1}, path: {2}", path, syncConfiguration.ServerPath, relativePath));
 }