ftp root dir?

From: Date: Tue, 22 May 2007 14:50:12 +0000
Subject: ftp root dir?
Groups: php.general 
Request: Send a blank email to php-general+get-255323@lists.php.net to get a copy of this message
Can I assume that all ftp_connect()s will make the current dir the DOC_ROOT? If not, how can I insure the ftp root dir is the same as DOC_ROOT? You can't use the absolute path with ftp. chdir() doesn't change the ftp current dir. if you ftp_chdir() and it's already on the root, it posts an error. ftp_pwd() simply returns "/", which simply says it's on its root, where ever that is. Thanks....

« previous php.general (#255323) next »