node-downloader-helper
node-downloader-helper copied to clipboard
A simple http file downloader for node.js
Hi, I downloaded a image using the readme sample. But i got an incomplete image sometime. how can i solve this? ```javascript const downloader = (url, dir, option) => {...
Hello Somtimes, without knowing the reason, i have the file continue downloading after 100% ! From my download logs : [2022-04-29 02:42:42.554] [silly] 528.0 kB/s - 1596.5% [4.7 GB/304.1 MB]...
Supporting multi connection if allowed since already implementing pipe
from @lyswhut in #15 >When the URL expires, but the file is only partially downloaded, we need to refresh the URL to resume the download, instead of creating a new...
can i download files with ftp protocol instead of http ?
I believe this fixes one part of the issue in #115 and maybe helps #113 a bit as well, not sure if it entirely closes either but maybe one step...
I believe this is related to #113 If a retry gets an errorous response, it looks like it just gives up entirely without continuing even if there are more attempts...
Been trying to debug why I'm getting ECONNRESET errors occasionally. What I found was the following: 1 .The ECONNRESET error doesn't always result in `dl.start()` throwing. Often this results in...
Getting the below issue when I am trying to download files using node-downloader-helper I am using node **16.16.0** and **18.14.0** by using nvm and also tried by downloading the node...
const downloader = new DownloaderHelper( fileURL, filePath, options = { fileName: fileNameTmp, resumeIfFileExists: true, timeout:5000, removeOnStop:false, removeOnFail:false, retry:{ maxRetries:6, delay:5000 }, resumeOnIncomplete:true, resumeOnIncompleteMaxRetry:50 } ); downloader.start() downloader.on('end', (stats) => {...