Doc #69728 [Opn->Nab]: The second param of ftp_get
| From: | cmb@php.net | Date: | Fri, 29 May 2015 11:25:45 +0000 |
| Subject: | Doc #69728 [Opn->Nab]: The second param of ftp_get | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12376@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69728&edit=1
ID: 69728
Updated by: cmb@php.net
Reported by: asnodj at gmail dot com
Summary: The second param of ftp_get
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: *General Issues
Operating System: Linux
PHP Version: 5.5.25
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The second parameter of ftp_get() has to be path, indeed, but that
is already documented on the respective man page[1]. You are
referring to the man page of ftp_fget()[2], however, and
this function does not accept a path as second parameter.
[1] <http://php.net/manual/en/function.ftp-get.php>
[2] <http://php.net/manual/en/function.ftp-fget.php>
Previous Comments:
------------------------------------------------------------------------
[2015-05-29 09:04:49] asnodj at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ftp-fget
---
Please change the documentation of ftp_get. The second param must be a string path of local file and
not a open resource.
Chers
Alexandre
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69728&edit=1