Program Download Button
-
Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT
I'm sure someone in the Web Development[^] forum will be able to help. :)
EuroCPian Spring 2004 Get Together[^] "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar "Get in touch with your Inner Capitalist - I wish you much success!" -- Christopher Duncan, Lounge 9-Feb-2004
-
Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT
I just did something like this in c#: private void button1_Click(object sender, System.EventArgs e) { System.Net.WebClient Client = new System.Net.WebClient (); Client.DownloadFile("http://www.owlnet.rice.edu/~bioc341/notes/lecture1.pdf", "d:/down/lecture1.pdf"); } jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854
-
Can someone tell me how to program a "download" button for a website. I need to download both Word and PDF files on a site. Thanks: confused: JWOFFMT
jwoffmt wrote: Can someone tell me how to program a "download" button for a website. Someone sure can, ask in a webdevforum. jwoffmt wrote: need to download both Word and PDF files on a site. Go to the site. Right click the file links. Select 'Save As' jwoffmt wrote: Thanks Your welcome. /M
- Don't sweat the petty things, and don't pet the sweaty things.