There's more than one way to do things | |
PerlMonks |
Re^2: download file by using lwp::useragent POST methodby TYRuan (Initiate) |
on Dec 13, 2017 at 07:40 UTC ( [id://1205394]=note: print w/replies, xml ) | Need Help?? |
If I surf the web site manually (http://www.tcichemicals.com/eshop/en/ap/catalog/coa_result /?page=coa) and post with the two variables, product_number=E0393,product_number=DY5BB the browser will prompt file download dialog but my perl script code right now only returns the web site content, not the desired file. Is it possible to ask lwp to return the file content, not the web site content?
In Section
Seekers of Perl Wisdom
|
|