Home - Help & Support - Contact Us
    

What Is The Absolute Or Direct Path For My Windows ASP Hosting Account?

Within ASP/ASP.NET, you can use the function Server.MapPath("") to return the full path to your hosting account. If you create a directory called "subdir," you could return the path to "'subdir" using Server.MapPath("subdir").

NOTE: Keep in mind that with ASP hosting, the root directory of a hosting account will never have write access using an ASP/ASP.NET script. If you want to specify write access to a subfolder, you must define write access to that folder through the Directory Management option in your hosting account settings. The Directory Management settings are also used to set up a "Virtual Root" in IIS by selecting the Set Root option.

The following is an example of an ASP server path:

<%
Dim thepath
thepath = Server.MapPath("")
response.write thepath
%>
Rated:NR/0 Votes
484 Views
More Articles From General
More Articles From General
Print Article
Print
Share |
Comments, Questions & Reviews

Comments is currently disabled for this article!
Related Articles and Readings
Creating Cisco PIX 501 Firewall Graphs
The Cisco PIX 501 Device Manager can generate five types of graphs: VPN Connection Graphs System Graphs Connection Graphs Miscellaneous Graphs ...
Do I get my own WEB INF directory?
Yes, you have your own WEB-INF directory. The WEB-INF directory is for your default Web application and is located under ...
Can I submit my affiliate website to DMOZ Open Directory Project
Generally, yes, but you can not submit your site to DMOZ Open Directory Project if:a) our products are the only ...
Why do files in my icons folder does not display?
Unfortunately, you cannot use "icons" as a directory name in your Linux hosting account. If you create an "icon" directory and ...
Accessing the Cisco PIX 501 Firewall Device Manager
To Access the Cisco PIX 501 Device Manager In a Web browser, navigate to: https://[your firewall management IP address]/ You may ...
The information provided in this article is for general information and/or the comments is the sole responsibility of their respective authors and does not necessarily reflect the opinion of zeronese.net does not endorse any article and/or comments published by our web users unless otherwise noted.