php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31567 ref.ftp: missing stuff
Submitted: 2005-01-16 06:53 UTC Modified: 2005-04-05 16:21 UTC
From: didou at keliglia dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-01-16 06:53 UTC] didou at keliglia dot com
Description:
------------
Not mentionned:

- ftp_*get() will overwrite the local files.
- one can pass options to ftp_site, ftp_nlist, etc. We need to document this. This is because no escaping is performed in the C sources. It can also introduce bugs (for filenames with spaces, etc
- ftp_connect() doesn't support proxies. (or maybe it's okay now ?) There are notes dealing with the subject.

have fun!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-16 07:00 UTC] didou at keliglia dot com
Also, the configure section doesn't mention PHP5.
 [2005-01-20 19:13 UTC] didou@php.net
The first was fixed by mazzanet
 [2005-02-13 04:25 UTC] mazzanet@php.net
Second is also fixed
 [2005-03-31 23:48 UTC] vrana@php.net
PHP 5 is mentioned in configure now.

Third point - do you mean just mention ftp_pasv() in ftp_connect()?
 [2005-04-05 15:23 UTC] didou@php.net
Yes and also the last user note on ref.ftp 
 
Thank you 
 [2005-04-05 16:21 UTC] vrana@php.net
ftp_pasv() was linked from ftp_get() and ftp_put().

That user note is not universal thus should not be documented IMHO. Proxy server can support such a method but doesn't need to.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 23:01:28 2024 UTC