예제 #1
0
 public void DeleteFiles()
 {
     using (AWS_S3_Client client = new AWS_S3_Client(AmazonS3ServiceURL, AmazonS3AccessKey, AmazonS3SecretKey))
     {
         List <String> list = client.GetFiles(backet_name, "gta");
         client.DeleteFiles(backet_name, list);
     }
 }
예제 #2
0
 public void GetFileListFilter()
 {
     using (AWS_S3_Client client = new AWS_S3_Client(AmazonS3ServiceURL, AmazonS3AccessKey, AmazonS3SecretKey))
     {
         List <String> list = client.GetFiles(backet_name, "ean");
         foreach (var s in list)
         {
             output.WriteLine(s);
         }
     }
 }