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)); }
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)); }