I have my image from Request.Files[0]. Now, how do I upload this image to S3? I see that in the AWS .NET API you have to specify ContentBody when putting an object which is
PurObjectRequest request = new PutObjectRequest() { BucketName = _bucketName, CannedACL = S3CannedACL.PublicRead, Key = string.Format("folderyouwanttoplacethefile/{0}", file.FileName), InputStream = file.InputStream }; YourS3client.PutObject(request);