Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Actual Virtual Path Thang
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mpickett
Starting Member

United Kingdom
6 Posts

Posted - 24 August 2003 :  19:35:38  Show Profile  Visit mpickett's Homepage
Hi!

My website is hosted by 2020Media. I'm setting up a gallery for an art group to use. The ASP script I'm using for file uploads to the gallery folder requires the real path ie c:/inetpub/wwwroot, etc... Has anyone any ideas about how I can find out the actual path of my virtual hosting? I'm sure I've seen a script that can be run to get this info..?

Thanks in advance!

http://www.GookeRoo.com

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 24 August 2003 :  19:44:54  Show Profile
take a look at how the forum software uses mappath to do the connection string.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 24 August 2003 :  19:45:28  Show Profile
try Server.MapPath .... there's a few examples in Snitz' config.asp as well I think.
Go to Top of Page

mpickett
Starting Member

United Kingdom
6 Posts

Posted - 24 August 2003 :  20:29:00  Show Profile  Visit mpickett's Homepage
Thanks guys! I'll give Server.MapPath a go ;-)

http://www.GookeRoo.com
Go to Top of Page

mpickett
Starting Member

United Kingdom
6 Posts

Posted - 24 August 2003 :  20:30:58  Show Profile  Visit mpickett's Homepage
Also - My host has switched to IIS (I think) and my ../ file references no longer work. Is there a quick solution? Thank you!!

http://www.GookeRoo.com
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 24 August 2003 :  21:47:00  Show Profile
The listener should have nothing to do with it. ".." simply means "up one level", it works in DOS, *nix, and just about everything else.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 24 August 2003 :  23:33:38  Show Profile  Visit Gremlin's Homepage
quote:
Originally posted by mpickett

Also - My host has switched to IIS (I think) and my ../ file references no longer work. Is there a quick solution? Thank you!!


Ask them to enable "Parent Paths" on your domain.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07