|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
|
Putting Downloadables in a site
Im sorry for double posting, but i waited a month and got no response, i have a website, im using frontpage to do it, in html. Anyways, id like to know how i could put downloads. i already have the downloads page, do i just link a link to the file thats on my pc? im running appserv, so everything is off my pc, im guessing all i have to do is put the file in the appserv folder, and make a link in the page to it, but im not sure if this will only open the file or also allow you to save it to your hard drive, thank you
|
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Sep 2004
Location: Cardiff, Wales. UK
Posts: 6,105
|
To allow downloading from your site the files need to be uploaded to your site's server, doing this involves the use of CGI scripts and I am not the person to talk to about this. I am sure there are a few people here who can help you though.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Apr 2004
Location: something like a pimp
Posts: 68
|
I'm sorry I don't think that is entirely accurate. To allow downloading of files from your website you merely have to link to them in the anchor tag of your html document.
Here is an example... say your html document and file to be downloaded (thefile.zip) are in the same folder. inside your html document you have a link that looks like this: Code:
<a href="thefile.zip">Download File</a> Code:
<a href="thefolder/thefile.zip">Download File</a> webG |
|
|
|
|
|
#4 |
|
Member (7 bit)
Join Date: Apr 2004
Location: something like a pimp
Posts: 68
|
Read the last sentence of your post and thought I might clear something up. You can't force a file to be downloaded that is meant to be rendered by the web browser.. like an html document. You can't make a user download an html document via an anchor tag. It can be done with some CGI however. And I realize now that you are using your own computer as a webserver, so just put it in the same directory and you should be good.
webG |
|
|
|
|
|
#5 | |
|
Member (1 million bit!)
Join Date: Feb 2003
Location: NY
Posts: 1,160
|
Since your using AppServ, I'm guessing your using the computer as the server. As Webguy said, all you have to do is make a link to the location of the file using the tag.
PHP Code:
__________________
![]() |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|