carbon / amazon Goto Github PK
View Code? Open in Web Editor NEWSimple access to Amazon's web services.
License: MIT License
Simple access to Amazon's web services.
License: MIT License
Hi There, good job!
I would like to propose the following small feature. I need it to start streaming asap without waiting until a file has been copied locally.
Thanks!
public static async Task DownloadAsync(
this S3Bucket bucket,
string objectKey,
Stream destinationStream,
S3DownloadOptions? options = null,
CancellationToken cancellationToken = default)
{
Nice if we get range-request pass-through as well because that is what a streaming support needs.
Let me know if you have time for this. Otherwise I will make a PR.
...
Hello
I'm a dev on the official AWS SDK for .NET and I was curious what were your design goals that you had to warrant writing your own versus using ours. Where there things lacking in our SDK that you wanted to improve on?
Impressive work writing your own SDK.
Norm
I wrote a demo to upload a file to S3 with the following codes, it always gets the following error:
S3Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method.
i have double-checked my access keys.
var cred = new Amazon.AwsCredential("xxxxx", "xxxxx");
var client = new Amazon.S3.S3Client(new Amazon.AwsRegion("ap-northeast-1"), cred);
var obj = new PutObjectRequest(client.Host, "backup", "/rewrite_amd64.msi");
obj.SetStorageClass(StorageClass.ReducedRedundancy);
var fs = new FileStream(@"C:\rewrite_amd64.msi", FileMode.Open);
obj.SetStream(fs, "application/octet-stream");
var mytask= client.PutObjectAsync(obj);
mytask.Wait();
Console.WriteLine(mytask.Result);
thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.