php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55782 rmdir don't support ftp paths
Submitted: 2011-09-26 02:40 UTC Modified: 2015-05-31 04:22 UTC
From: jose dot nobile at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Directory function related
PHP Version: 5.3.8 OS: Centos 5.6 (Redhat 5)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 + 49 = ?
Subscribe to this entry?

 
 [2011-09-26 02:40 UTC] 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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-17 17:04 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2015-05-17 17:04 UTC] cmb@php.net
This issue seems to have been solved in the meantime (tested with PHP 5.4.19 on Windows). Can you confirm?
 [2015-05-31 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC