multer-s3
multer-s3 copied to clipboard
File size is 0 for quicktime files
when uploading a .mov file to multer-s3, it returns a file obj that has 0 for its fileSize property
I'm seeing the same thing for .wav and .aiff files. .aac, .m4v, .mp3, all work though.
Same for Excel files! Any solution? or any other way to fetch the size?
Same for Excel files! Any solution? or any other way to fetch the size?
My solution was to fetch the filesize client-side and pass it over in the request body instead of server-side. Not sure that works for everyone, but resolved the issue for me perfectly.
The Javascript File interface offers a size property.