Pass session/cookies from WebBrowser to WebClient or auto save webbrowser download in C#

Completed Posted Mar 9, 2013 Paid on delivery
Completed Paid on delivery

I am using a WebBrowser control in C# to programmatically login to a website, where I then want to download files. But I don't want the "save as" dialog box to pop up (or to send it keys using SendKeys), I just want to save the file to a specified file and folder automatically. If I use WebClient or HttpWebRequest to download the file, it doesn't work because they don't have the session credentials or cookies, so it's like I'm not logged in.

I need a way to do this with the webBrowser control or a way to pass the session/cookies to the WebClient object.

I would like a sample executable that has a webBrowser control and two textboxes/buttons, one where I can put the URL to go to (and then I will login manually), and then a 2nd textbox where I can put a download link and download the file automatically without any user input to the current folder when the button is clicked.

Let me know if you have any questions before bidding.

PLEASE NOTE: I need to login to the site using the WebBrowser control, I can not use HttpWebRequest to login.

.NET C# Programming Web Scraping

Project ID: #4316384

About the project

10 proposals Remote project Active Mar 9, 2013

Awarded to:

PhungTran

Hi, I have done some project like this before. Use HttpWebRequest to login and extract / download data. So lets me do this for you please !

$50 USD in 1 day
(6 Reviews)
3.6
ehsankayani

HI, Kindly see details in PMB Thank you

$100 USD in 1 day
(49 Reviews)
6.2

10 freelancers are bidding on average $184 for this job

mantislin

Hi sir, please check PM, thx Kimi.

$275 USD in 6 days
(75 Reviews)
6.4
greggfletcher

Hello, please refer to your INBOX. Best Regards.

$100 USD in 1 day
(49 Reviews)
6.3
thanhlongfree

Hello. I've done this type of project before. Please check PM

$180 USD in 7 days
(38 Reviews)
5.8
bob1982

Hi I am very good in website data Extraction

$200 USD in 5 days
(82 Reviews)
5.6
mhmhz

Kindly check my PBM

$250 USD in 2 days
(61 Reviews)
5.5
chandeshjha

Please share details to get the work done in the best way.

$80 USD in 2 days
(1 Review)
2.8
hyperlinkinfo

Are you talking about installers ??

$500 USD in 20 days
(1 Review)
0.7
tylerjgall

Hello, I recently finished a project exactly like this - it logged into a forum and notified you of any updates as long as it ran. I have 7 years experience developing with C# and would be happy to help you with this.

$100 USD in 2 days
(0 Reviews)
0.0