Click to See Complete Forum and Search --> : Help with links


NigelJHatcher
08-20-2003, 03:20 PM
Ok, I am creating a site lets say its http://00.00.00.00 for the IP and lets say i have a folder that i have the index file setup for the ip to read C:\webfolder\index.html now i have a file i want to setup for people to download from on a different drive... lets say D:\test.mp3 how would i go about linking it to the page. i have already tried
<a href="file:///../d:/test.mp3">Download link</a></font></p>

any suggestions. thanks

diamonds
08-20-2003, 03:47 PM
Everything people accross the internet must access must be in the server base folder.

This means that what you want to do is, probably, very hard.

Do you know about remote folders?
If you do, make a remote folder go to the folder the program is in.

For example, your base folder is c:/serverfiles/:
and your address is localhost.
You can create a remote folder assigned to localhost/folder/,
and it will link to d:/program/, so if a user types in "localhost/folder/files/program1/", it will link to "d:/program/files/program1/" on your computer, instead of "c:/serverfiles/folder/files/program1/".

Are you using apache or ISS?
Is appears you are using ISS.

Khalid Ali
08-20-2003, 03:47 PM
if you want people using internet to get those resources then you will need to map the virtual paths in the webserver for those urls.And depending upon which web server you are using,their documentation should help you do this

diamonds
08-20-2003, 04:00 PM
virtual paths... thats what I was looking for!
thanks Khalid Ali!

Khalid Ali
08-20-2003, 04:17 PM
:D
Glad to be of any help..