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

Large file upload error

Open evgenoid opened this issue 4 years ago • 1 comments

Looks like file size comparison problem in S3.js:

- const thirtyTwoMegabytes = 34359738368;
+ const thirtyTwoMegabytes = 33554432;

Also:

380: res = JSON.parse(res);
381: putInLine(function(){
382:    uploadFileToURL(asBuffer, res.data, filename, filetype, callback);
383: });

evgenoid avatar Jul 03 '20 10:07 evgenoid

I have created a pull request to fix this.

Rajarshi07 avatar Jun 02 '22 15:06 Rajarshi07