Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 7th, 2007, 04:40 PM
Authorized User
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening a local file from a hosted link

I'm working on a document management app that saves scanned docs as PDF files in a local directory, then saves document metadata in an Internet-based SQL server. The SQL server is then queried to retrieve document info and links are created that point to the files. SQL returns the correct info, and vbscript points to the proper local directory and file, but I can't get the browser to open the document in a target frame. If I open a test doc locally it works fine. Any ideas are appreciated.


Old November 27th, 2007, 11:08 AM
Registered User
Join Date: Nov 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

It sounds like your folder location is "outside" of the Inetpub folder structure. So try the following:

1st make sure the folder which houses your document is shared

2nd create a virtual directory to the location of the local folder holding the documents.

3rd you should now be able to call documents via the following type of link: www.[yourwebsite].com/[virtual directory name]/[document name]

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening distinct files in a database Link Column gene4455 BOOK: Beginning ASP 3.0 9 November 13th, 2008 03:16 PM
open a excel file on local computer premnaath ASP.NET 2.0 Professional 1 December 4th, 2007 01:23 PM
How can i import a local text file into a jsp file ravibabu Java GUI 1 April 25th, 2007 04:05 AM
Get UNC for a local file Mitch Access 0 August 12th, 2003 02:24 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.