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
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 !
Your email address:
MUST BE VALID
Solve the problem:
41 + 47 = ?
Subscribe to this entry?

 
 [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 Jun 02 04:01:29 2024 UTC