I had used Win32::IEAutomation(to browse the site,fill forms etc.)
in reply to Reaped: how to get pdf's that are http links
along with Win32::GuiTest to save files from the internet (especially when you get the "Save As" popups).
Here's the actual code that i used to save file:
For this though, you have to make the IE/Firefox window visible.
my @windows = FindWindowLike(0, "^File Download - Security Warning","#