{"action":"closed","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/640","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/640/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/640/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/640","id":64407026,"number":640,"title":"Direct upload to Amazon S3: corrupted files","user":{"login":"billyshena","id":6057397,"avatar_url":"https://avatars.githubusercontent.com/u/6057397?v=3","gravatar_id":"","url":"https://api.github.com/users/billyshena","html_url":"https://github.com/billyshena","followers_url":"https://api.github.com/users/billyshena/followers","following_url":"https://api.github.com/users/billyshena/following{/other_user}","gists_url":"https://api.github.com/users/billyshena/gists{/gist_id}","starred_url":"https://api.github.com/users/billyshena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyshena/subscriptions","organizations_url":"https://api.github.com/users/billyshena/orgs","repos_url":"https://api.github.com/users/billyshena/repos","events_url":"https://api.github.com/users/billyshena/events{/privacy}","received_events_url":"https://api.github.com/users/billyshena/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-26T00:58:11Z","updated_at":"2015-08-03T21:06:09Z","closed_at":"2015-08-03T21:06:09Z","body":"Hello everyone !\r\n\r\nI'm currently trying to setup a direct upload from angular-file-upload to Amazon S3 bucket.\r\nThe 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)\r\n\r\nThe 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:\r\n\r\n------WebKitFormBoundaryfOtaE6TQBF0hzBnw\r\nContent-Disposition: form-data; name=\"file\"; filename=\"01_-_Rock_Or_Bust.mp3\"\r\nContent-Type: audio/mp3\r\n\r\nFor each uploaded file, there is this \"webkitformboundary\" stuff added inside my file's binary content which is the reason of my issue I guess.\r\n\r\nDoes anyone know how to solve it?\r\n\r\nI have a Node.js server that is basically generating pre-signed url and my app using this plugin to do the upload to S3.\r\n\r\nI've been looking to solve this with my team for 24 hours now but no clue at moment.\r\nAny ideas?\r\n\r\nBest regards,"}}