Web Hosting Talk







View Full Version : download file?


noobies
04-14-2006, 07:50 AM
anyone have any idea how to upload a file for visitors to your site to download?

Qani
04-14-2006, 10:56 AM
The best way would be through ftp, you can use Dreamweaver or any other ftp app to do this. Then you just link to the file!

noobies
04-16-2006, 10:57 AM
what you mean by just link to the file?

Mark S
04-16-2006, 11:24 AM
Well, does the server have a httpd or ftpd server (daemon) running?

Qani
04-17-2006, 11:56 AM
what you mean by just link to the file?
Let's say you upload the file to the same folder as the index.htm file, to link to the file you just create a <a href="filename.ext">Text for users to click on<a> in the index.htm file.

Or if you put it in a folder <a href="/folder/filename.ext">Text for users to click on<a>

noobies
04-18-2006, 03:02 AM
abit confuse....ok lets say i have a file name website1.zip

and now in Dreamweaver i type in a text named DOWNLOAD and so now what i require is that when visitors click on the text DOWNLOAD they will be prompt to download the website1.zip

thats what im trying to do :) can someone explain abit clear to me. thanks in advance & sorry for the trouble.

elekt
04-18-2006, 03:33 AM
<a href="yoursite.com/website1.zip">Download<a>

noobies
04-18-2006, 03:57 AM
thanks for the help but now theres a problem how do i link the zip file to the text download, if i only type the code given alone its just plain text. ???

RH Swaroop
04-18-2006, 04:28 AM
thanks for the help but now theres a problem how do i link the zip file to the text download, if i only type the code given alone its just plain text. ???
What do you mean? You want to link to a txt file?

noobies
04-18-2006, 04:48 AM
what i mean is if i just type the code <a href="yoursite.com/website1.zip">Download<a> given, when you open the html page you can only see the code as text and nothing else.

SO if i want to upload the file website1.zip for visitors to be downloaded using Dreamweaver theres bound to be some other work other than the coding part.

The other work is now i have got the code but i need to link the text DOWNLOAD with the file website1.zip so that it can be downloaded.

If i just type in the code only it only appear as text in the page.

RH Swaroop
04-18-2006, 04:59 AM
Just use that code in your html page, It will create a hyperlink to the file website.zip . I think I still didn't get your question :P

noobies
04-18-2006, 08:59 AM
lol, yea i follow what u say and just type the code in the html page it indeed create a hyperlink but when i click on it it shows as The Page Cannot Be Displayed. lol

RH Swaroop
04-18-2006, 09:01 AM
lol, yea i follow what u say and just type the code in the html page it indeed create a hyperlink but when i click on it it shows as The Page Cannot Be Displayed. lol
umm. cuz you haven't uploaded it yet? ;)

noobies
04-18-2006, 10:38 AM
so do i upload the file into the ftp public_html or other folder??