serdnad / aws_s3_upload Goto Github PK
View Code? Open in Web Editor NEWA simple, convenient package for uploading to S3 in Flutter
License: BSD 3-Clause "New" or "Revised" License
A simple, convenient package for uploading to S3 in Flutter
License: BSD 3-Clause "New" or "Revised" License
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
Is it possible to update the dependencies to the latest versions
I'm getting following issue when trying to upload a file
SocketException: OS Error: Broken pipe, errno = 32, address = jewtube-source-14c5ef0ws4cpc.s3-us-west-2.amazonaws.com, port = 33492
Connection reset by peer
However, I want to upload only 14KB zip file.
@Serdnad Hey, i have been using this package for sometime, working fine in android but i getting "Connection reset by peer" for ios from send() function from base_request.dart file. Any solution for this ?
add http or https option
var httpStr = 'http';
if (useSSL) {
httpStr += 's';
}
final endpoint = '$httpStr://$bucket.s3.$region.amazonaws.com';
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)
-AndroidManifest.xml :
anyone can help me? how to solve!
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)
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".
not only POST
I use ^3.3.0
version of amazon_cognito_identity_dart_2
I don't want to downgrade\
0.1.25
Hello, can you please add a callback for the upload progress? Thank you.
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");
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-
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?
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?
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
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.