LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-15-2010, 01:54 PM   #1
amish123
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
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.
 
Old 02-15-2010, 06:09 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
check the -r option for wget to get a recursive download.

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Webmin on CentOS 5.3 - i386 nandanm1 Linux - General 4 09-16-2009 07:55 AM
http://iso.linuxquestions.org/ - CentOs DBabo LQ Suggestions & Feedback 3 01-27-2008 01:37 PM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 08:01 AM
CentOS 4 (x86_64 or i386) Mithrilhall Linux - Newbie 2 07-14-2006 11:36 AM


All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration