troubleshooting Question

Cannot download with Webclient control VS 2010 c#

Avatar of Curtis Long
Curtis LongFlag for United States of America asked on
11 Comments1 Solution1306 ViewsLast Modified:
I am trying to write a program that automatically logs into a website, clicks a link, and clicks a download all link and saves the file to somewhere like c:\downloaded_data\
Everything is working except the download. When my program clicks on the download all link, it brings up an internet explorer window that wants me to log in again, at first I thought it was a cookie problem, but when accessing the site from internet explorer, I checked by using javascript:alert(document.cookie) and there are no cookies set. Has anyone encountered a similar problem before, or knows how to overcome it?

The website is using the https protocol, just in case that messes with anything...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros