Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-22-2008, 09:31 PM   #1
LQ Newbie
Registered: Oct 2006
Distribution: Kubuntu 8.04
Posts: 8

Rep: Reputation: 0
wget problem - not downloading ALL files

Hi all,

I'd like to use wget to download a website newly developed by me (don't ask- a long story).

The index.html references two stylesheets, IESUCKS.CSS and IE7SUCKS.CSS, that wget refuses to download. All other stylesheets download fine, and I'm suspecting that these directives:

<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="iesucks.css" /><!<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="ie7sucks.css" /><!<![endif]-->

hide the stylesheets from wget as well as Firefox. I also noticed that some images fail to download, leaving me with missing files seemingly at random.

Any ideas will be greatly appreciated!
Old 08-23-2008, 04:26 AM   #2
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
You've put the links to the stylesheets inside Internet Explorer conditional comments. Any browser other than Internet Explorer will treat the contents as comments.

Can't comment on images that fail to download since you don't provide any details. A link to the website might help along with a list of the images that fail to download.
Old 08-28-2008, 07:46 PM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
You might also post your complete wget command.


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
wget: Multi-Threaded downloading wwnexc Linux - Networking 8 05-15-2010 08:40 PM
wget searching and downloading images on a website ? memo007 Linux - Software 10 11-13-2008 10:46 AM
wget - downloading files from a directory Oris13 Linux - General 8 05-15-2008 05:42 PM
How to set path for downloading files for wget vineet7kumar Linux - Newbie 2 04-24-2008 04:38 AM
HOWTo restart downloading with wget ashwin_cse Red Hat 5 08-26-2004 10:07 AM > Forums > Linux Forums > Linux - Software

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

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