Bug #55782 [Opn->Fbk]: rmdir don't support ftp paths
Edit report at https://bugs.php.net/bug.php?id=55782&edit=1
ID: 55782
Updated by: cmb@php.net
Reported by: jose dot nobile at gmail dot com
Summary: rmdir don't support ftp paths
-Status: Open
+Status: Feedback
Type: Bug
Package: Directory function related
Operating System: Centos 5.6 (Redhat 5)
PHP Version: 5.3.8
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This issue seems to have been solved in the meantime (tested with PHP 5.4.19 on Windows). Can you
confirm?
Previous Comments:
------------------------------------------------------------------------
[2011-09-26 02:40:10] jose dot nobile at gmail dot com
Description:
------------
rmdir can not delete an empty directory using a ftp path as:
ftp://user:password@host:port/path
Test script:
---------------
<?PHP
rmdir("ftp://user:password@host:port/path");//don't
work
?>
Expected result:
----------------
empty directory is deleted
Actual result:
--------------
empty directory is not deleted. unlink can delete files with ftp paths, but rmdir
not!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55782&edit=1
Thread (3 messages)