$req = new HTTP::Request 'GET',"http://ftp.website.com/download.asp?f=/image.gif $req->push_header(cookie=>"ID=b9a15e1"); $req->push_header(cookie=>"SESSION=LLMODEMBGI"); my $ua = new LWP::UserAgent; $rc = $ua->request($req); my $image = $rc->content;