By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,251 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,251 IT Pros & Developers. It's quick & easy.

LWP Request

P: 2
I need to write a Perl script that returns a file upon the script being called.
I have written a script using LWP that posts a request and accepts the response. I now need a script the handles the inbound request and supplies the file for the requester to download.
Mar 18 '08 #1
Share this Question
Share on Google+
4 Replies


eWish
Expert 100+
P: 971
What have you tried in your efforts to make this script?

--Kevin
Mar 18 '08 #2

P: 2
I've just yesterday finished the first script to send a request and process the downloaded data. I'm writing it to a file for use further downstream.

I'm stuck getting started on the second script. I imagine I need to read some parameters in the inbound request and somehow send the file back to the requesting url.
Mar 18 '08 #3

eWish
Expert 100+
P: 971
I guess that I am having a hard time understanding the flow. Therefore, it is hard to make suggestions.

--Kevin
Mar 18 '08 #4

numberwhun
Expert Mod 2.5K+
P: 3,503
I've just yesterday finished the first script to send a request and process the downloaded data. I'm writing it to a file for use further downstream.

I'm stuck getting started on the second script. I imagine I need to read some parameters in the inbound request and somehow send the file back to the requesting url.
If you want assistance, we are really going to need to see your code. Please post your code here for all to see and let us know what isn't working, what you are having problems with, or where you are stuck.

Regards,

Jeff
Mar 19 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.