Giter Club home page Giter Club logo

aws_s3_upload's People

Contributors

bylatt avatar jamesdixon avatar jasonroland avatar prasadkirpekar avatar serdnad avatar shinriyo avatar

Stargazers

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

Watchers

 avatar

aws_s3_upload's Issues

http package issue

The aws_s3_upload seems to be the only one that simply uploads files to amazon S3 and is dart 3 compatible thanks to the team. but for the http package it's limited to 1.13.3, could we update the same to use latest version of http package

http https option

add http or https option

    var httpStr = 'http';
    if (useSSL) {
      httpStr += 's';
    }
    final endpoint = '$httpStr://$bucket.s3.$region.amazonaws.com';

Failed to upload to AWS, with exception

package version: aws_s3_upload: ^1.2.0
Failed to upload to AWS, with exception:
SocketException: Failed host lookup: 'bucket-name.s3-us-east-1.amazonaws.com' (OS Error: No address associated with hostname, errno = 7)

  • my endpoint in the package file: final endpoint = 'https://$bucket.s3-$region.amazonaws.com';

-AndroidManifest.xml :

anyone can help me? how to solve!

Issue Uploading to Linode bucket

When trying to upload to Linode bucket with the correct access and secret keys, it fails with this error:
CERTIFICATE_VERIFY_FAILED: Hostname mismatch(handshake.cc:393)

Specify Content-type for viewable Images?

Is it possible to specify the Content-type metadata for images? Currently, clicking the Object URL downloads the image instead of displaying it in the browser. By default, it seems to upload to the S3 bucket as a "binary/octet-stream" instead of "image/jpg".

HandshakeException

im trying to upload a file with flutter windows and I get exception in debug:

flutter: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: Hostname mismatch(../../third_party/boringssl/src/ssl/handshake.cc:359))

This is how I use it:
AwsS3.uploadFile(
accessKey: myAccessKey,
secretKey: mySecretKey,
file: f,
bucket: bucketId,
region: "eu-west-1");

static website hosting option

The .s3-website- and .s3-website. parts are fixed in the URL formats used for Amazon S3 website hosting.
These are defined by AWS and cannot be changed.

So, I want to add .s3-website-

Aws Value Null with broken pipe

I have run the package with all the info but the logs say :

flutter: Aws has running
flutter: Aws value : null
flutter: Failed to upload to AWS, with exception:
flutter: SocketException: Write failed (OS Error: Broken pipe, errno = 32), address = kantact-private.s3-ap-southeast-1.amazonaws.com, port = 53181

Whats is wrong here?

returns null without any exception

trying to upload a photo but response returns null without any exception. couldn't figure out why.

 Future<String?> addPhotoToAws(File path) async {
    String bucketName = "*****";

    final response = await AwsS3.uploadFile(
      accessKey: "*****",
      secretKey: "******",
      file: path,
      bucket: bucketName,
      region: "eu-central-1",
    );

    return response;
  }

any idea?

Uploading to S3 bucket

Is the:

final endpoint = 'https://$bucket.s3-$region.amazonaws.com';

syntax still proper for s3 buckets? I am getting a "SocketException: Failed host lookup: {endpoint}" error when I try to upload a file to S3

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.