Creating a HTML download page

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I want to provide a way for the user to download a file by just using
HTML.  I often see download pages where there is a choice of FTP or
HTML.  Is there an example of this on the Web?  Will I need some PHP or
JavaScript to do this?

Thank you....

Re: Creating a HTML download page

__/ [Todd Cary] on Saturday 31 December 2005 16:27 \__

Quoted text here. Click to load it

Here's an example:

If you have a host that runs FTP daemons, make use of them. You can set up
(enable rather) an FTP server and then simply link to it, possibly including
the path and authentication details (if not anonymous access). The content
typically goes under public_ftp in your home directory assuming Apache.

Best wishes,


Re: Creating a HTML download page

Todd Cary wrote:
Quoted text here. Click to load it

Well, just upload the file to your server and link to it:
<a href="*http*://">Download</a>
When you load the page with the link, the file will be downloaded via
HTTP.. It is simply a matter of which link you provide -
*ftp*:// downloads via FTP..


Site Timeline