| 
 Posted by Lόpher Cypher on 12/31/05 19:23 
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
 
  
Navigation:
[Reply to this message] 
 |