in reply to Download PDF's
Really?! That's hot. So I could do:
my $response = $robot->get($url, $url); if ($response->is_success and $response->content_type eq 'application/ +pdf'){ print PDF $contents; } [download]
how would i get $contents? Some type of parsing?
I guess that means i can do the same thing with pictures too?
Even easier:
use strict; use LWP::Simple qw/getstore/; my $url = "http://blahblah/file.pdf"; my $file = "/home/user/file.pdf"; getstore($url, $file); [download]
haha, thanks b10m that looks awesome. i think i'm set then