LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2008, 10:19 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
wget does not work because of no html files?


I am trying to download jpg files from a directory that does not have any html files in the directory, but it does not work. I am using

wget -A.jpg http:/www.site.com/picture/

I used this command before and it worked. I guess that it does not work now because the picture directory have only jpg files. Does wget require html file to be in that directory in order to be working?
 
Old 07-03-2008, 12:45 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 62
The server would have to provide you with a page when you enter the URI. If the server doesn't offer an HTML page, there is nothing for wget to follow (eg. no links). Wget can't "see" magically inside a server's directory to download its content.
 
  


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
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 6 06-20-2011 08:28 PM
Can't get wget and lynx to work Buxworth Linux - Newbie 3 04-08-2006 04:31 PM
wget html grabbing script linuxhippy Slackware 4 11-25-2005 06:17 PM
html code and including html files Hockeyfan Programming 2 08-22-2005 06:11 PM
How do I make wget-1.9.1 work? akihandyman Linux - Software 2 11-26-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration