Click here to Skip to main content
15,937,127 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
download Coe code of pdf file with c #

[Edited]Corrected spelling[/Edited]
Updated 10-Nov-11 19:14pm
koolprasad2003 10-Nov-11 1:07am    
wht you exactly want ? create a PDF file or download already created file.
soniya sangal 10-Nov-11 6:01am    
download already created file.
Sergey Alexandrovich Kryukov 11-Nov-11 0:40am    
What is "coe"?!!

Is this downloading by client part? Simple:

<a src="files/myDocument.pdf">Download document here</a>

Server part? FTP? HTTP? Depending on protocol, you can use the class System.Net.FtpWebRequest or System.Net.HttpWebRequest, see:[^],[^],[^].

You can also use the class System.Net.WebClient which can work with different protocols defined by URI. Here is a code sample:[^].

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