Wget aspx pages that requires login

JohnB

New Member
I came across the following answer which in my case downloads only a page:http://stackoverflow.com/a/1432161/1331135The asp page that I'm trying to download is linked to a database. I am executing \[code\]download.sh\[/code\] file which contains the following:\[code\]# Log in to the server. This can be done only once. wget --save-cookies --keep-session-cookies cookies.txt \ --post-data 'Login1_UserName=myusername&Login1_Password=xxxxxx' \ http://druginfo.aiocdawacs.com/Default.aspx# Now grab the page or pages we care about.wget --load-cookies cookies.txt \ -p -r http://druginfo.aiocdawacs.com/Brand.aspx\[/code\]Page, brand.aspx contains a searchbar which is linked to a database. Is it possible to download the database?
 
Top