D
darrel
Given a URL to a file, you can user server.mappath to get the actual system
file path.
Is there a function that does the opposite?
Ie, if I have this:
c:\inetpub\wwwroot\documents\myfile.txt
is there a function that will return:
/documents/myfile.txt?
I could parse the above do that myself, but was wondering if there is
already a built in function for that.
-Darrel
file path.
Is there a function that does the opposite?
Ie, if I have this:
c:\inetpub\wwwroot\documents\myfile.txt
is there a function that will return:
/documents/myfile.txt?
I could parse the above do that myself, but was wondering if there is
already a built in function for that.
-Darrel