Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
local-amazon-s3-05
public async Task<IActionResult> Upload([FromServices] IAmazonS3 s3)
{
await new TransferUtility(s3)
.UploadAsync(source, "my-bucket", "some/path/image.jpg");
return Ok();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment