Referencing data on external drive
It's a bit convoluted this, but here goes.
I have an ASP web application that runs on a low spec old laptop, which also runs an instance of SQL Server. The application is defined in IIS on the local C: drive and works happily. I now wish to generate pages on demand with links that point to data held on an external HDD mapped to the laptop [server], but it won't work.
If the links refer to the HDD via its mapped drive e.g.
<a href="file://T:/folerpath/file.ext>File to link to</a>
it works internally on my LAN but not remotely form the outside world obviously, as the browser can't see a T: drive.
I thought re-defining the application within IIS to hold it in the same location as the folder on the ext HDD containing the data would resolve it and make the links resolve within the defined application, but IIS doesn't like that, and the whole web app fails.
This must be the most rudimentary method of doing things - seperating the data from the presentation and logic in the way that we're always told. So how do I get my web page to point to the data on the external HDD?
Thx in advance.
|