Giter VIP home page Giter VIP logo

amazon's People

Contributors

iamcarbon avatar jweissbhg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

amazon's Issues

Download to Stream

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.
...

This library vs AWS SDK for .NET

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

Demo shows how to Put an Object to S3?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.