Code Monkey home page Code Monkey logo

angular-s3-upload's Issues

Direct upload to Amazon S3: corrupted files

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?

Best regards,
capture d ecran 2015-03-26 a 09 46 46
capture d ecran 2015-03-26 a 09 46 33
capture d ecran 2015-03-26 a 09 46 55

No AWS globals in S3 build?

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.

Credentials error on first upload

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

unable to upload file in the demo page

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>

Resume upload feature

Can this plugin have resume upload feature? If yes, then how to enable the feature?

Cannot read property 'extend' of undefined

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

Array data of uploaded files/

Hi.. Its just a question, not an issue. When i upload a files, can i get a response with links of uploaded files?

Thanks.

Get File

Not an issue but is there anything for fetching Bucket data or file data.

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.