node-imager icon indicating copy to clipboard operation
node-imager copied to clipboard

getting filename NaN,NaN. when content-type is application/octet-stream

Open amitevski opened this issue 11 years ago • 2 comments

I'm downloading images from an external website, saving it locally and afterwards uploading it via node-imager to amazon. Sometimes it happens that an image has content-type "application/octet-stream" instead of a supported type. imager doesn't throw an error in this case but uploads the file with filename NaN,NaN,NaN,.. this file is not reachable afterwards.

amitevski avatar Jul 11 '14 12:07 amitevski

see pull request https://github.com/madhums/node-imager/pull/74

amitevski avatar Jul 11 '14 12:07 amitevski

+1

danielmahon avatar Oct 31 '14 19:10 danielmahon