laziness, impatience, and hubris | |
PerlMonks |
File upload with LWP::UserAgentby PerlRob (Sexton) |
on Jun 12, 2008 at 22:33 UTC ( [id://691811]=perlquestion: print w/replies, xml ) | Need Help?? |
PerlRob has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I'm attempting to write a Perl script that can upload a file to a web server based on the following very simple file upload form (URL redacted):
And here's my Perl code (URL, username, and password redacted):
This gives me a 400 "URL missing" error from the web server. Quite frankly, I have no idea what I'm doing wrong. I'm not a Perl noob, but I've never had occasion to use LWP::UserAgent or HTTP::Request, so I'm a noob in that sense. Any ideas what I'm doing wrong or how I can debug?
Back to
Seekers of Perl Wisdom
|
|