Re: Checking directory existance

From: Date: Mon, 07 Feb 2005 05:55:09 +0000
Subject: Re: Checking directory existance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208160@lists.php.net to get a copy of this message
Ashley M. Kirchner wrote:
Through ftp commands, how can I check whether a directory already exists before executing ftp_mkdir() ? Thanks!
Ashley - Try using: if (!ftp_chdir($ftpc,$ftproot.$srcrela)) Thanks -dant

« previous php.general (#208160) next »