[PHP-DEV] PHP 4.0 Bug #7216: ftp_mkdir returns nothing From: steve <email protected>
Date: 10/15/00

From: steve <email protected>
Operating system: Solaris 2.7
PHP version: 4.0.3
PHP Bug Type: FTP related
Bug description: ftp_mkdir returns nothing

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

Please advise.

-- 
Edit Bug report at: http://bugs.php.net/?id=7216&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>