I'm building a web page and want to be able initiate the download from my website. I researched a bunch of resources and I haven't been to figure out how in the HTML to cause the download to start. I want to give the user the option to download a file by clicking a button or anchor reference.

Does anyone know how to do code that function into their webpage?



Thanks Man, much appreciated. its tough being a novice.


Comatose, I might pay just about any amount to have you around. Your suggestion would help a great deal. Thenks.

Dont forget to drop the caps, not good practice with HTML.

Also remember that some servers do not allow certain kinds of downloads.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.