in reply to Download file from HTTP

I am using LWP::UserAgent to download file from Http site. I am able to connect to website but not able to download required file. Can anyone help me with my query. Thanks in advance.

See the solution to every such problem in Re^5: can't get WWW::Mechanize to sign in on JustAnswer or Web Testing with HTTP::Recorder