The link in your question is not the link to the file, is a link to the Dropbox page of this file.
If you want to use wget
to download it, you should copy the link to direct download from the menu that drops when pushing the download button to the right.
In my case, that worked fine.
However, sometimes problems in downloading links from outside the browser relate to parameters other than the link itself. A common element that does not exist when you simply copy the link are the site cookies.
Try this cool FF add-on to get the correct wget
links
And also, especially if we are talking about a known workstation and not a casual one, you can of course install the Dropbox client. This will be the easiest way, just let your box be part of your file structure and eliminate the need of complicated downloads.
See this askubuntu.com post, and the Dropbox download page.
I believe by default wget will stick to the current domain only. So if the files were hosted on musicforprogramming.net it'd download them.
Use -D to pass a list of accepted domains:
(As pointed out in the comments by Hugh Grigg, you also need --span-hosts
wget -r --no-parent --accept mp3,MP3 -nd -D datashat.net,musicforprogramming.net --span-hosts https://musicforprogramming.net/
Best Answer
You can specify what file extensions
wget
will download when crawling pages:this will perform a recursive search and only download files with the
.zip
,.rpm
, and.tar.gz
extensions.