Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

download images from internet

Posted on 2001-08-25
4
Medium Priority
?
242 Views
Last Modified: 2010-03-18
I want to download images and keep them on my server
using crontab service.
for html source codes i do:
#lynx -source "http://................";
but it can't help to get images.
have somebody any idea?


0
Comment
Question by:kako
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 400 total points
ID: 6425222
Try GNU wget instead of lynx.

http://freshmeat.net/projects/wget/

wget http://www.somesite.com/todaysimage.jpeg -O /home/you/somesite-images/`date '+%d-%m-%y'`.jpeg

Will save http://www.somesite.com/todaysimage.jpeg with the filename: http://www.somesite.com/25-08-01.jpeg

Leaving off the -O and filename at the end will just use the file name that the server uses. (todaysimage.jpeg)
0
 

Author Comment

by:kako
ID: 6425941
well, it works
can you help me to supress the output?


"Connecting to www.some-site.net:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 5,600 [image/jpeg]0K .....                                 100%"

Thanks

0
 
LVL 17

Expert Comment

by:dorward
ID: 6426956
wget [parameters] 2> /dev/null
0
 

Author Comment

by:kako
ID: 6427778
I've fount option -q
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question