Command-line download tool for the Node.js platform.
npm i -g jet-dwnldr
jet-dwnldr URL
Basically, it works like wget --continue.
It downloads a file in the current directory.
If there's already a file with the same name, jet will assume that it is the first portion of the remote file and will ask the server to continue the retrieval from an offset equal to the length of the file.
This will only work with HTTP and HTTPS servers that support the 'Range' header.
If the URL ends with a '/', the file will be named 'index.html'.
If the status code of the response is 400 or greater, it will stop and print the status message.
If you don't have write permissions in the current directory, it will stop and print an error message.
- Partially downloads: Wget Manpage
- Node file system API: fs
- HTTP and HTTPS request library: hyperquest
- HTTP response handling: http