Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AmazonS3Client s3Client = new AmazonS3Client(RegionEndpoint.EUCentral1);
- var folderKey = savePath + title;
- PutObjectRequest req = new PutObjectRequest();
- req.BucketName = bucket;
- req.Key = folderKey;
- req.FilePath = openPath;
- PutObjectResponse res = s3Client.PutObject(req);
- req.MyAttribute = Guid.NewGuid();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement