Good Morning/Afternoon Everyone,

I have been reading up on LWP::UserAgent and HTTP::Request of the LWP package. This is good stuff.
But I am still confused about a couple of things. Here is ther senario. I have a file I want to download from
my server and I can do that with LWP. But what I'm confused on is One: how do I save the file to a certain
directory once I have started the GET process; insted of it dumping to stdout? The other part I am unclear on
is this: if the site does not contain the file I am looking to GET, then I should receive the standard web response
of 'file does not exist' or other responses like 'forbidden', etc. I am unclear how to 'log' these responses or redirect
them to a file for later examination insted of dumping to stdout.


Thus far I have a script that will do what I want it to do, but now I need to understand how to save my file(s)
to disk insted of dumping to stdout, and logging the responses to a file for review. Let me know if I have made myself unclear. I look forward to hearing from
you all soon with your input and ideas.


Thank You,
~Martin



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to