LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09: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-02-2008, 11:45 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
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



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 10 05-11-2018 11:28 AM
Can't get wget and lynx to work Buxworth Linux - Newbie 3 04-08-2006 03:31 PM
wget html grabbing script linuxhippy Slackware 4 11-25-2005 05:17 PM
html code and including html files Hockeyfan Programming 2 08-22-2005 05:11 PM
How do I make wget-1.9.1 work? akihandyman Linux - Software 2 11-26-2003 02:20 PM

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

All times are GMT -5. The time now is 06:06 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