master
ZGGSONG 3 years ago
parent 431bf31f39
commit 8c1af0634d

@ -9,7 +9,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace S3Demo.Model namespace S3Demo.Helper
{ {
// This example uses the AWS SDK for .NET to check isExist the Amazon Simple Storage // This example uses the AWS SDK for .NET to check isExist the Amazon Simple Storage
// Service (Amazon S3) buckets belonging to the default account. This code // Service (Amazon S3) buckets belonging to the default account. This code

@ -1,21 +1,12 @@
using System; using System;
using System.IO; using System.IO;
using Newtonsoft.Json;
using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using S3Demo.Model;
using S3Demo.Model.Uploader; using S3Demo.Model.Uploader;
using Ksat.Supplyment.Library.Model;
using Ksat.Supplyment.Library.Uploader;
using Ksat.Supplyment.Library.Model.Uploader;
using System.Threading.Tasks;
using System.Threading; using System.Threading;
using System.Linq; using System.Linq;
namespace S3Demo namespace S3Demo
{ {
public class Run public class Program
{ {
private static string[] paths = { @"D:\ClientDir" }; private static string[] paths = { @"D:\ClientDir" };
private static string suffix = "*.png"; private static string suffix = "*.png";

@ -82,7 +82,7 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Model\BucketModel.cs" /> <Compile Include="Helper\BucketModel.cs" />
<Compile Include="Helper\HttpHelper.cs" /> <Compile Include="Helper\HttpHelper.cs" />
<Compile Include="Helper\ObjectHelper.cs" /> <Compile Include="Helper\ObjectHelper.cs" />
<Compile Include="Model\DataModel.cs" /> <Compile Include="Model\DataModel.cs" />
@ -91,7 +91,7 @@
<Compile Include="Model\Uploader\S3UploadRequest.cs" /> <Compile Include="Model\Uploader\S3UploadRequest.cs" />
<Compile Include="Storage\CreateBucket.cs" /> <Compile Include="Storage\CreateBucket.cs" />
<Compile Include="Storage\ListObjects.cs" /> <Compile Include="Storage\ListObjects.cs" />
<Compile Include="Run.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Storage\UploadDirMPUHighLevelAPI.cs" /> <Compile Include="Storage\UploadDirMPUHighLevelAPI.cs" />
<Compile Include="Storage\UploadFileMPUHighLevelAPI.cs" /> <Compile Include="Storage\UploadFileMPUHighLevelAPI.cs" />

Loading…
Cancel
Save