LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   wget indirect link downloading (https://www.linuxquestions.org/questions/linux-server-73/wget-indirect-link-downloading-859440/)

lamachine 01-29-2011 12:13 PM

wget indirect link downloading
 
I'm trying to download phpmyadmin from sourceforge => http://sourceforge.net/projects/phpm...r.bz2/download . I'm using the wget command followed by direct link from the page.
All I get is some irrelevant file that has nothing common with phpMyAdmin-3.3.9-all-languages.tar.bz2.
The direct link is for clients with web browsers that triger automatic download to user desktop, but I need to download the package to a server. What is the wget option to get the file from this kind of links?

smoker 01-29-2011 12:37 PM

Works fine for me.
Are you using the entire direct link that is posted on that page ?

neildaemond 04-02-2012 08:39 PM

how to dl from indirect links
 
Hi lamachine

you probably figured out how to do it by now, but if you haven't, I worte a cheatsheet on this a bit back at

http://www.neilpahl.com/cheatsheets/...-links-in-cli/

basically, you use your cli web browser to follow the indirect link to the download file. so, I use the w3m in command line:

commandLine$> w3m indirect_download_link

then hit enter to save to the current working directory as the default file name. then hit q to exit the browser.


All times are GMT -5. The time now is 05:58 AM.