Click here to Skip to main content
15,891,900 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i am placing some exe files in webserver.
and i am developing a windows application..
so i want to download that exe files into my system from the webserver.......

how can i approach any idea...........
Posted

Use the WebClient object. A little bit of google ("c# download file from website") goes a long way:

http://www.fryan0911.com/2009/03/c-download-file-from-website-using-web.html[^]

And there's no need to post the question twice.
 
Share this answer
 
v2
hi,

i already try what simmons said, but when i place this one on server side and run that application i got a message as "remote server error-404"......
any idea regarding this....
 
Share this answer
 
hi simmons,

your solution is helpful for me, it is ok for the zip file..
but i have a problem with downloading exe file(ie.,exe file is in binary form). so how to download the exe file......


any idea regarding this.........
 
Share this answer
 

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