Solved

virtual paths in asp

Posted on 1998-08-26
2
230 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

832 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