burak Posted March 4, 2004 Posted March 4, 2004 Hello, How can I download a pdf file on a web server to my pc by using vb.net? Thank you, Burak Quote
Moderators Robby Posted March 4, 2004 Moderators Posted March 4, 2004 do you mean like this http://www.redcross.org/services/disaster/beprepared/fdpall.pdf Quote Visit...Bassic Software
burak Posted March 4, 2004 Author Posted March 4, 2004 I am talking about writing vb.net code that will have a textbox where you can enter the url of a pdf and then it will download this pdf to your hard drive when you run it. I am not talking abut clicking on links. Quote
burak Posted March 4, 2004 Author Posted March 4, 2004 I found out how it's done. ------------------------------- Dim src, dest As String src = "www.bryantstratton.edu/pdf/course_descriptions.pdf" dest = "C:\Documents....\bryant.pdf" Dim webc As New WebClient webc.DownloadFile(src, dest) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.