nervgh / angular-file-upload

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework
MIT License
3.44k stars 1.13k forks source link

best way to get byte-array from FileItem #846

Open flo82flo opened 5 years ago

flo82flo commented 5 years ago

Hi all, I want to use a nv-file-drop in order to upload pictures to a database. But I do not want to upload them directly. I only want the file content as a byte-array and save them later in a different controller call (I am using angularjs in a MVC project). Can you tell me the best way to get the byte-array from FileUploader or FileItem object?