Google Answers Logo
View Question
 
Q: Server file dirroot information ( No Answer,   1 Comment )
Question  
Subject: Server file dirroot information
Category: Computers > Internet
Asked by: jordykoski-ga
List Price: $2.00
Posted: 10 Dec 2003 21:00 PST
Expires: 09 Jan 2004 21:00 PST
Question ID: 285928
Is there a way to find out the server file location for my website????
I can't get this info from my hosting company and I need to find it out asap!!!

Basically, right now I have a website that i can ftp files to.....but
as i am trying to set up a PHP/MySQL site, i need to specify the
server file location in the config.php script.....and my hosting
company won't give me this information. Are there are any tricks to
find this out???

Thanks in advance
Answer  
There is no answer at this time.

Comments  
Subject: Re: Server file dirroot information
From: ejp-ga on 08 Jan 2004 19:30 PST
 
Can you telnet into the server?  If so, you can just use the command :  pwd   
That should print out  your directory location.  Sometimes a very
cleve ISP will make a directory name begin with a ".",  pwd will not
show that directory, but that's kinda of rare. pwd should work for
you.

Also, once you ftp to a site (assuming you are using a GUI client),
you may be able to enter the pwd comand (Print Working Directory) from
within your FTP client.  That should also work for you. You'll
probably see something like /home/a/ab/abc. That's how an ISP my
divide up their site to make it a bit easier to organize thousands of
accounts.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy