ftp_mkdir generates warning.
| From: | Steven Plastrik | Date: | Sun, 15 Oct 2000 04:48:16 +0000 |
| Subject: | ftp_mkdir generates warning. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20212@lists.php.net to get a copy of this message | ||
I am having a problem with ftp_mkdir.
Operating system: Solaris 2.7
PHP version: 4.0.3
ftp_mkdir returns nothing, regardless of success or failure.
$strm=ftp_connect($HOST);
$res=ftp_login($strm, $FTP_USER, $FTP_PASS);
$res=ftp_mkdir($strm, "foo");
It also causes a warning to be displayed in the browser:
Warning: ftp_mkdir: MKD command successful. in
/usr/local/apache/htdocs/pub_profs.php on line 122
This seems like it should be an easy fix (for some one other than me). I
would be happy to manually edit and test and changes to ftp.c or php_ftp.c
Has any one else encountered and/or solved this?
Steve