Doc #73958 [Opn->Csd]: ftp_rename throws a warning that is not documented
| From: | tpunt@php.net | Date: | Sun, 22 Jan 2017 12:29:14 +0000 |
| Subject: | Doc #73958 [Opn->Csd]: ftp_rename throws a warning that is not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14365@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73958&edit=1
ID: 73958
Updated by: tpunt@php.net
Reported by: ramrami dot mohamed at gmail dot com
Summary: ftp_rename throws a warning that is not documented
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: FTP related
PHP Version: 7.0.14
-Assigned To:
+Assigned To: tpunt
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-01-22 12:28:31] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=341745
Log: Resolve doc bug #73958
------------------------------------------------------------------------
[2017-01-19 09:15:27] ramrami dot mohamed at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ftp-rename
---
'ftp_rename' throws a warning when there is a problem (e.g missing directory). This
warning is not documented as the documentation says "Returns TRUE on success or FALSE on
failure.". While for 'ftp_chdir' it says "Returns TRUE on success or FALSE on
failure. If changing directory fails, PHP will also throw a warning."
The warning :
ftp_rename(): Rename non_existing_folder/my_file: No such file or directory
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73958&edit=1