Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
CSS
I am interested in knowing if you have a solution to transfer the authentication of a WebBrowser control to a WebClient to download files using vb .net.

My file to download something like this:

https://siteweb/RecuperaFile.aspx?Datos=EFhTlDnzYJL33qvtOg9eGt+t9aK9LtIrYJMj0VQM7vo7FOU5CZBTI4ibd13nSvDKj23OF/NgA3X58pR7mXNtQTORkqVUSj59ibgwwHRQzhk7vDK25BiOZd8p2+THwdX63M0QYJN2Q34Oph2LrXejZ8w6EugFtfDQn18wGvDi93f8dTIc35kUycqyuxOjJzsCBWbgDbJu6jJbfsleUVI/60Sxbb7+Ehr5ZT36MHzcLezc2yLo9+H9qO79rlWwnvK25PtrQf6ubDpGPWCDvb8PFjZb8s049Xq6EOv2zYH6lJSVKcu0hOrOs0IN9HmqmftUIw4O7Oqwv/Bj8+rYIX1uwVk2K4w17a9moIUW1t8C0dbfjkDxyyLrRqGjL+g2HnccsLiDGh9AHDJUYwRKdbfHOx+gO0Ql6NjeZl0GObdrUmS6g613W2+Xta7s+oCbpzfFufRdTU5Bf+/MOERJLX6cTgBezpFuy3YKg/ZhY/5E7YE=

Therefore the method Navigating WebBrowser control not found because it is not an archive of usenet and is not the file extension chain

The only solution that I have so far is calling me WebBrowser1.Navigate which appears with a dialog box to save the file.

If you have any solution please give me some clue or post to my problem.
Posted
Comments
Sergey Alexandrovich Kryukov 1-Jan-15 12:23pm    
You need to authenticate in your application, because this is a different session. Transfer... don't you think, if it was possible, it would be a fundamental security flaw? You are giving your password here, but it is used... who knows where? Trust can be granted, but not taken.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900