How to link to clients C drive?
Moderator: General Moderators
-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
How to link to clients C drive?
Hi,
I have a website, that when viewed on the server looks fine, but when viewed from a client machine, doesnt work.
I have a link on one page, which when clicked, i want it to open the c drive of whatever machine is viewing it. Right now nothing happens when i click the link from a client machine, as its trying to open the servers c drive.
Does anyone know how to link to a clients C drive?
ANY input would be greatly appreciated.
thanks
I have a website, that when viewed on the server looks fine, but when viewed from a client machine, doesnt work.
I have a link on one page, which when clicked, i want it to open the c drive of whatever machine is viewing it. Right now nothing happens when i click the link from a client machine, as its trying to open the servers c drive.
Does anyone know how to link to a clients C drive?
ANY input would be greatly appreciated.
thanks
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
thats right, using the file type instead of an http or ftp call in the hyperlink, but the questions has to be asked, what are you trying to achieve?
Code: Select all
<a href="file:///c:/">c drive</a>-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
hey,
thanks for the input so far.
when the user (on a client machine) navigates to the site, a folder is meant to download to their c drive (having problems with this too). It is this folder that I want to create a link to. Basically its just to provide a link to the user to click, rather than going to "My Computer", "C:/", "Downloaded Folder".
I tried
<a href="C:/Folder">Click me</a>
and
<a href="file:///C:/Folder/">Click me</a>
as wayne suggested. Neither works when viewing the site from the client machine.
any other suggestions?
thanks for the input so far.
when the user (on a client machine) navigates to the site, a folder is meant to download to their c drive (having problems with this too). It is this folder that I want to create a link to. Basically its just to provide a link to the user to click, rather than going to "My Computer", "C:/", "Downloaded Folder".
I tried
<a href="C:/Folder">Click me</a>
and
<a href="file:///C:/Folder/">Click me</a>
as wayne suggested. Neither works when viewing the site from the client machine.
any other suggestions?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I belive a java applet will do it but that depends on the clients security levels and they'd also have to accept a security warning popup.
Well, antileech for downloading files that the host wants to protect from leechers has a java applet and that writes to the client machine so it is obviously possible...
Well, antileech for downloading files that the host wants to protect from leechers has a java applet and that writes to the client machine so it is obviously possible...
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
lauraSatellite
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 02, 2005 4:26 am
Thanks for all the replies 
I can do error checks to verify the required folder location.
The intention is for the user to download the files *each* time they visit the website (this happens in the onload).
This makes and archieve of information on the server the basis of the users archieve of information, which will grow continually.
what was said about the user changing the folder name, that would mess up the continuity of the archive, but it wouldnt stop the program from working (as a new hierarchy of information would be downloaded to take the place of the newly-renamed folder).
I hoped that PHP would have an ability to write from server to client. This is the first time ive used php, so im not exactly up-to-scratch on it. Should I take it that it will not write from server to client?
I can do error checks to verify the required folder location.
The intention is for the user to download the files *each* time they visit the website (this happens in the onload).
This makes and archieve of information on the server the basis of the users archieve of information, which will grow continually.
what was said about the user changing the folder name, that would mess up the continuity of the archive, but it wouldnt stop the program from working (as a new hierarchy of information would be downloaded to take the place of the newly-renamed folder).
I hoped that PHP would have an ability to write from server to client. This is the first time ive used php, so im not exactly up-to-scratch on it. Should I take it that it will not write from server to client?