This site has been archived and will no longer be updated.
You can find my new profile at neilpahl.com. My new blog is at 808.ninja.
Sometimes file download links are protected by scripts (like at sourceforges "link to current version", for example) so that they can not be directly linked to, or what have you.. I'f I'm working remotely, I prefer to download directly to the box I'm working on. So while wget is good for downloading direct links, it won't work with the script-based links. How can I download them then?
Instead of wget, I open the link with a tex-based command line interface(cli) browser.
My cli browser of choice is w3m because it is distributed (at least) with debian distros.
so all you need to do is
w3m indirect_link_to_file
then when the page loads and the download is ready, the browser will ask you if you want to download the file (to the current path you are in by default).
-press enter and the download will begin.
after it is complete, press q to quit the browser.
use the 'ls' command, and you will see your downloaded file
PLEASE let me know if I'm doing something wrong, or if you have any suggestions or requests~
blog comments powered by Disqus