This would do it... #!/usr/bin/perl
use LWP::Simple; use strict; my $content=get("http://www.images.com/image.jpg"); open(OUT, ">image.jpg") or die $!; binmode(OUT); print OUT $content; close(OUT); Regards, Agustin Rivera Webmaster, Pollstar.com http://www.pollstar.com ----- Original Message ----- From: "Guy Davis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 27, 2002 8:29 AM Subject: How do I get and save an image off of a web page > I want to grab a web page via HTTP:Request and then parse it and grab an image off of it and save that image to the hard disk. Has anyone done this and/or can anyone point me in the right direction? > > Thanks, > > Guy Davis > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]