Closed renjithaccel closed 7 years ago
@renjithaccel I am not sure if you are on the right version. Current stable version is 2.2.2
Hi,
I have upgraded to v2.2.2 . Tried to run the sample code given in here https://www.npmjs.com/package/mt-downloader#new-downloads.
var downloader = createDownload({path, url});
TypeError: createDownload is not a function
at Object.
I'm new to NodeJs and I couldn't find out the reason of this error. You have any idea??
Thanks
@renjithaccel There was some issue with npm's website, it never gets the latest README file. You must checkout the documentation here — https://github.com/tusharmath/Multi-threaded-downloader
Hi,
I'm getting this error while running the sample download scripts. I saw an .mtd file is creating on my destination directory. After few seconds it is failing. The error is
Error: The .mtd file is corrupt. Start a new download. at module.exports (/home/testmachine/node_modules/mt-downloader/lib/Exceptions.js:83:33) at /home/testmachine/node_modules/mt-downloader/lib/core/DownloadReaderAsyncTask.js:36:13 at FSReqWrap.wrapper [as oncomplete] (fs.js:602:17)