Click here to Skip to main content
16,004,425 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to download a file from 1 link than save downloaded file in D:\Files, and i have username and password .
But all stuff i want to do c#(console application).
how to pass those link with username and password?
reply as soon as possible.
Thank you.
Posted

1 solution

The question is not quite clear. Please see my past answers:
get specific data from web page[^],
How to get the data from another site[^].

—SA
 
Share this answer
 
Comments
i want to call a URL eg. abc.def.xyz after hitting enter i will get 1 pop window and in that i have to enter user name and password , after entering username and password (which will be called basic authentication ) , zip file will automatically started downloaded . All these stuffs i want to do in windows form application. so is there any way , tell me as soon as possible.
Sergey Alexandrovich Kryukov 4-Mar-14 10:14am    
You need to add authentication to your HTTP request. One more idea: use the browser with some HTTP spy software (I, for example, used HttpFox, a plug-in for the Mozilla browsers). Do it all in browser and see recorded packages, it will tell you what's going on, exactly.
—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