LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   trying to wget http://vault.centos.org/5.2/os/i386/CentOS/ (https://www.linuxquestions.org/questions/linux-software-2/trying-to-wget-http-vault-centos-org-5-2-os-i386-centos-789284/)

amish123 02-15-2010 12:54 PM

trying to wget http://vault.centos.org/5.2/os/i386/CentOS/
 
Hello,

am trying to download all the rpm packages from the link, http://vault.centos.org/5.2/os/i386/CentOS/ via wget.

But im getting error: "transfer failed, unknown or unexpected error",

the command i ran is, wget http://vault.centos.org/5.2/os/i386/CentOS/

then tried, wget http://vault.centos.org/5.2/os/i386/CentOS/$file

But no results, it just download the index.html file.

My question then is, how to download multiple files on a webpage via wget?

any help appreciated.

Thanks.

acid_kewpie 02-15-2010 05:09 PM

check the -r option for wget to get a recursive download.

http://www.gnu.org/software/wget/man...rieval-Options


All times are GMT -5. The time now is 03:23 PM.