Solved

virtual paths in asp

Posted on 1998-08-26
2
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

733 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