Re: ftp root dir?

From: Date: Tue, 22 May 2007 15:30:59 +0000
Subject: Re: ftp root dir?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-255327@lists.php.net to get a copy of this message
On Tue, 2007-05-22 at 11:19 -0400, Al wrote: > I know that; but, I writing a script, that can be used on different servers, which creates a > directory and I want to > make certain it is created on the DOC ROOT. I don't want the user to have to test the ftp > connection with a ftp utility > program first. You can only do that if you have control over the ftp server settings such that the FTP directory overlaps your DOC_ROOT at some point. And even then you need to know exactly how it overlaps since FTP doesn't expose it's real location to FTP clients (at least not that I know of). Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#255327) next »