Re: [PHP] Checking directory existance

2005-02-06 Thread Dan Trainor
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] Checking directory existance

2005-02-06 Thread Ashley M. Kirchner
Through ftp commands, how can I check whether a directory already exists before executing ftp_mkdir() ? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php