php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35237 Impossible interrupt getting the file by ftp_nb_get
Submitted: 2005-11-16 11:10 UTC Modified: 2005-11-24 01:00 UTC
From: gue at datecs dot kiev dot ua Assigned:
Status: No Feedback Package: FTP related
PHP Version: 5.0.5 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: gue at datecs dot kiev dot ua
New email:
PHP Version: OS:

 

 [2005-11-16 11:10 UTC] gue at datecs dot kiev dot ua
Description:
------------
When I get the file in non-block mode, i can't run any ftp-command, for example - stop downloading and close connection.

Reproduce code:
---------------
ftp_connect
ftp_login
$ret=ftp_nb_get
while($ret===FTP_MOREDATA){
    $ret = ftp_nb_continue;
    break;
}
ftp_close //locked!!! time 1-2 minutes


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-16 13:42 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-11-24 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC