I am using "webclient" to download and save a file by url in windows application.
here is my code:
WebClient wc = new WebClient();
wc.Headers.Add(HttpRequestHeader.Cookie, cc);
wc.DownloadFile(new Uri(e.Url.ToString()), targetPath);
this is working fine local system.(downloading the file and saved to target path automatically with out showing any popup). But when i am trying to execute the .exe in server its showing save/open popup. Is there any modifications require to download a file in server settings. Please help me to download the file with out showing popup in server too.