Solved

download images from internet

Posted on 2001-08-25
4
204 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
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 100 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reaching outside NTP servers from within a domain? 12 96
IPA - change main server? 3 104
monitor and log every file access on redhat/linux 4 117
Measure data download 2 96
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now