Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Creating a HTML download page

Reply
Thread Tools

Creating a HTML download page

 
 
Todd Cary
Guest
Posts: n/a
 
      12-31-2005
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....
 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      12-31-2005
__/ [Todd Cary] on Saturday 31 December 2005 16:27 \__

> 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....


Here's an example:

http://othellomaster.com/OM-5.html

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,

Roy
 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?L=FCpher_Cypher?=
Guest
Posts: n/a
 
      12-31-2005
Todd Cary wrote:
> 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....


Well, just upload the file to your server and link to it:
<a href="*http*://www.domain.com/path/file.zip">Download file.zip</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*://www.domain.com/path/file.zip downloads file.zip via FTP..

luph
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an excel download from a ASP.NET page Cindy Lee ASP .Net 1 06-01-2009 07:06 PM
Need help creating a "Click absolutely ANYWHERE on this page" link for an HTML page with no content STILL LEARNING HTML 31 02-10-2007 09:53 PM
Forcing Download of File Appends HTML from Download Page to Downloaded File? Brett Kelly ASP .Net 1 06-16-2006 04:05 AM
File upload/download from database. Download appends aspx page to end of file Ryan Taylor ASP .Net 2 11-10-2004 08:31 PM



Advertisments