#45228 [Fbk->Opn]: unlink() & rmdir() do not work well with URL (file://)
| From: | nanawel at eyeos dot org | Date: | Wed, 07 Jan 2009 14:27:53 +0000 |
| Subject: | #45228 [Fbk->Opn]: unlink() & rmdir() do not work well with URL (file://) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132628@lists.php.net to get a copy of this message | ||
ID: 45228
User updated by: nanawel at eyeos dot org
Reported By: nanawel at eyeos dot org
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: Windows
PHP Version: 5.2.6
New Comment:
Except for the rmdir() function which fails on both Windows AND Linux
platforms, all the paths provided in the previous comments are explicite
Windows paths.
You cannot use "C:\" or "C:/" or "file://C:/" or something else under
Linux.
That's why I've just changed the OS concerned by the issue
from: * (all)
to: Windows
Thanks for your time.
Previous Comments:
------------------------------------------------------------------------
[2009-01-07 14:18:50] pajoye@php.net
Confusing comments.
Does unlink work on linux?
Does unlink work on Windows?
Does rmdir work on Windows?
Does rmdir work on Windows?
------------------------------------------------------------------------
[2009-01-07 13:58:34] nanawel at eyeos dot org
Just changed the OS concerned by the issue.
------------------------------------------------------------------------
[2008-07-14 20:08:57] nanawel at eyeos dot org
Another great one:
rmdir() DOES NOT WORK with the file:// scheme, AT ALL.
Tested on Windows and Ubuntu 8.04 (both on PHP 5.2.6).
------------------------------------------------------------------------
[2008-06-10 16:46:19] nanawel at eyeos dot org
A new set of problems:
- mkdir() only works with file://C:/my/path
and fails on file:///C:/my/path
or file://localhost/C:/my/path
- rmdir() DOES NOT WORK with file://C:/my/path
or file:///C:/my/path
or file://localhost/C:/my/path
------------------------------------------------------------------------
[2008-06-10 16:03:21] nanawel at eyeos dot org
Additionnally, unlink() doesn't work either on URL like:
file://localhost/C:/my/path
and this is particularly _not_ normal.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45228
--
Edit this bug report at http://bugs.php.net/?id=45228&edit=1