cheynewallace / angular-s3-upload Goto Github PK
View Code? Open in Web Editor NEWAngularJS To S3 Upload Demo Application
AngularJS To S3 Upload Demo Application
Hello everyone !
I'm currently trying to setup a direct upload from angular-s3-upload to Amazon S3 bucket.
The upload process works fine, ex: If I upload an image of 3MB, the image is correctly transferred on my Amazon S3 bucket (located in Francfort btw, using the new AWS V4 signature)
The issue is the following one: The uploaded files cannot be opened and when I try to "cat" to see the binary content of the file, there are 3 lines added:
------WebKitFormBoundaryfOtaE6TQBF0hzBnw
Content-Disposition: form-data; name="file"; filename="01_-_Rock_Or_Bust.mp3"
Content-Type: audio/mp3
For each uploaded file, there is this "webkitformboundary" stuff added inside my file's binary content which is the reason of my issue I guess.
Does anyone know how to solve it?
I have a Node.js server that is basically generating pre-signed url and my app using this plugin to do the upload to S3.
I've been looking to solve this with my team for 24 hours now but no clue at moment.
Any ideas?
I keep getting the error message "AWS is not defined" when using either your custom S3 build, or one I built on the amazon repo. No problem with the full minified AWS javascript SDK - suggesting the AWS globals aren't included in the S3 builds? How does your use case work?? Thanks.
I got this error on your demo and on my local machine as well.
On the first attempt to upload, there's an error saying "Missing credentials".. when you click again the upload goes through.
Error {message: "Missing credentials in config", code: "CredentialsError", time: Fri Sep 12 2014 19:22:14 GMT-0700 (PDT), originalError: Object, stack: (...)โฆ}code: "CredentialsError"message: "Missing credentials in config"name: "CredentialsError"originalError: Objectstack: (...)get stack: function () { [native code] }set stack: function () { [native code] }time: Fri Sep 12 2014 19:22:14 GMT-0700 (PDT)proto: d
Do you have a simple way of extending this to do multiple file selection and upload?
Hi!
I tried the demo page but i am unable to upload files directly to my s3 bucket. Here's what I got
<Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><RequestId>478B319062870F45</RequestId><HostId>3P+XrvsgxcinuABC0snhgi/WaZzF/BTS7SYCoivtRragTjM3tAS/fHEv0RWEx8pZEcQbxCpJMBY=</HostId></Error>
Can this plugin have resume upload feature? If yes, then how to enable the feature?
I am getting this error when i tried to clone the project and run the index file in browser
TypeError: Cannot read property 'extend' of undefined
at p (toastr.min.js:1)
at Object.b [as error] (toastr.min.js:1)
at s. (controllers.js:29)
at u. (aws-sdk.min.js:6)
at u.h [as callListeners] (aws-sdk.min.js:7)
at u.l [as emit] (aws-sdk.min.js:7)
at u.g (aws-sdk.min.js:6)
at u.e (aws-sdk.min.js:6)
at n.i [as runTo] (aws-sdk.min.js:7)
at aws-sdk.min.js:7
Hi.. Its just a question, not an issue. When i upload a files, can i get a response with links of uploaded files?
Thanks.
Not an issue but is there anything for fetching Bucket data or file data.
error on demo page
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.