How to programatically signin to website and download a file
<p>I am visiting a website regularly and need to download a file. When I visit the site it prompt me for login (No separate page for login. they might have used a script on Default.aspx) and then I need to make 3, 4 more clicks. After that I reach my file-download link.</p>

<p>I also tried to use Javascript make auto clicks and download file. I succeed upto loged-in but further it gives me error "Permission Denied" means cross domain problem when using iFrames and doesn't let me do it with Javascript.</p>

<p>Please let me know any alternative solution.</p>

<p>Thanks</p>
