Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The .mtd file is corrupt. Start a new download?? #14

Open
renjithaccel opened this issue Dec 20, 2016 · 4 comments
Open

Error: The .mtd file is corrupt. Start a new download?? #14

renjithaccel opened this issue Dec 20, 2016 · 4 comments

Comments

@renjithaccel
Copy link

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)

@pantchox
Copy link

this happend to me when i did not have enough disk space.
also i have a hunch it might be realted to IO non handled issues by this module, for example your destination filename directory might night exist.

@tadeork
Copy link

tadeork commented Nov 26, 2017

Maybe it's because you're trying to download from a https url?

@VladimirMerk
Copy link

Exactly the same problem on ubuntu 16.
I load in /tmp, it creates a mtd file with size 0 bytes

EVENT - Download error ! Error: The .mtd file is corrupt. Start a new download. at module.exports (./node_modules/mt-files-downloader/node_modules/mt-downloader/lib/Exceptions.js:83:33) at ./node_modules/mt-files-downloader/node_modules/mt-downloader/lib/core/DownloadReaderAsyncTask.js:36:13 at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

@alimpaecher
Copy link

I also received the .mtd file is corrupt error. Mine was caused by the fact that the download source location was incorrect (and so the file did not exist).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants