php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31225 ftp_get : Strange warnings
Submitted: 2004-12-21 10:52 UTC Modified: 2005-03-11 01:00 UTC
Votes:4
Avg. Score:3.2 ± 1.1
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: guibod at free dot fr Assigned:
Status: No Feedback Package: FTP related
PHP Version: 5.0.2 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: guibod at free dot fr
New email:
PHP Version: OS:

 

 [2004-12-21 10:52 UTC] guibod at free dot fr
Description:
------------
I use a ftp connection through a ftp firewall, unknown version. ftp_get failed a couple of time triggering an warning very similar to Bug #29745 but before a successfull file recover.
Same as Bug #18886 but on PHP 5.0.2

So long I noted two type of messages :

- ftp_get(): Entering Passive Mode (10,160,5,2,70,219)

- ftp_get(): Opening BINARY mode data connection for file transfer.


It seem that ftp_get crash because the previous FTP command response is replied when ftp_get is used.

Reproduce code:
---------------
There is no real rule to reproduce this. It happened only on a Microsoft FTP server (IIS 5) and behind an unidentified ftp proxy.

Expected result:
----------------
No warnings ! :)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-21 15:33 UTC] iliaa@php.net
Please supply login to the FTP site which can be used to replicate the bug.
 [2004-12-21 16:08 UTC] guibod at free dot fr
I am sorry I am not able to give such sensible information. This bug occured in a professionnal context, I have no contact with the FTP admins and then cannot give you anykind of dummy account.

There is an phone number to contact the server admin. I can give you this. Consider this sent to you directly, yet.

The FTP server is NOT a IIS server. It output a UNIX like directory listing but there is no server header that allow me to get clear datas about the FTP server.
 [2005-02-28 21:04 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-03-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-02-23 20:04 UTC] darksport at interzet dot ru
i found out that this problem occurs when i'm trying to download files larger than 2gb. and after one such file this function doesnt download any more, only shows warnings. I'm using php 4.4.4 under Gentoo Linux
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC