Solved

virtual paths in asp

Posted on 1998-08-26
2
231 Views
Last Modified: 2013-11-15
I am using the Getfolder function to retrieve a list of files in a folder and display them as hyperlinks.  I have a virtual path setup, but the asp code or Getfolder function doesn't seem to like using this and will only work with the absolute path of the folder.  Am I doing something wrong ?

Also, virtual paths to a folder on another server dont seem to work at all, can anyone throw any light on this area.  Thanks.
0
Comment
Question by:gbr
  • 2
2 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 50 total points
ID: 1837101
The FileSystem object will not accept a virtual path to the file... You must use the physical path, so the reults you are receiving are not wrong... That was not built in to the object..

0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1837104
You can map a "drive" to another server and then use the physical path to there... That will work for you.

0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question