[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

virtual paths in asp

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
gbr
Asked:
gbr
  • 2
1 Solution
 
MasseyMCommented:
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
 
MasseyMCommented:
You can map a "drive" to another server and then use the physical path to there... That will work for you.

0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now