Bug #55782 [Opn->Fbk]: rmdir don't support ftp paths

From: Date: Sun, 17 May 2015 17:04:23 +0000
Subject: Bug #55782 [Opn->Fbk]: rmdir don't support ftp paths
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192714@lists.php.net to get a copy of this message
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)

« previous php.bugs (#192714) next »