#35237 [NEW]: Impossible interrupt getting the file by ftp_nb_get

From: Date: Wed, 16 Nov 2005 10:10:18 +0000
Subject: #35237 [NEW]: Impossible interrupt getting the file by ftp_nb_get
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88259@lists.php.net to get a copy of this message
From: gue at datecs dot kiev dot ua Operating system: linux PHP version: 5.0.5 PHP Bug Type: FTP related Bug description: Impossible interrupt getting the file by ftp_nb_get 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 -- Edit bug report at http://bugs.php.net/?id=35237&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35237&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35237&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35237&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35237&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35237&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35237&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35237&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35237&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35237&r=support Expected behavior: http://bugs.php.net/fix.php?id=35237&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35237&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35237&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35237&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35237&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35237&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35237&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35237&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35237&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35237&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35237&r=mysqlcfg

« previous php.bugs (#88259) next »