php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69728 The second param of ftp_get
Submitted: 2015-05-29 09:04 UTC Modified: 2015-05-29 11:25 UTC
From: asnodj at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: *General Issues
PHP Version: 5.5.25 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: asnodj at gmail dot com
New email:
PHP Version: OS:

 

 [2015-05-29 09:04 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-29 11:25 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2015-05-29 11:25 UTC] cmb@php.net
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>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 03:01:33 2024 UTC