Reputation: 42762
When I try to get a file from somewhere Internet, for example ,http::/www.aaa.com/bbb.tar, everything goes smoothly. When I use lwp-download to get the same file, the app just hangs.
After some troubleshooting, I realized that it is because a proxy has been set for Firefox that makes it work.
How do I configure an HTTP proxy for lwp-download?
Upvotes: 0
Views: 727
Reputation: 300825
lwp-download uses the LWP Perl package, which can use environment variables for setting up proxies. You could try setting the HTTP_PROXY environment variable to your proxy address...
Failing that, switch to something else, like cURL, which supports setting a proxy directly.
Upvotes: 4