LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 12: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, 05:09 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

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


Reply



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 06:55 AM
http://iso.linuxquestions.org/ - CentOs DBabo LQ Suggestions & Feedback 3 01-27-2008 12:37 PM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 07:01 AM
CentOS 4 (x86_64 or i386) Mithrilhall Linux - Newbie 2 07-14-2006 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 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
Open Source Consulting | Domain Registration