From: neo_in_matrix at msn dot com Operating system: Fedora Core 1 & 3 PHP version: 4.3.10 PHP Bug Type: FTP related Bug description: ftp_get never downloads a file
Description: ------------ I have a small script file (less than 200 lines) that pulls Firefox/Thunderbird nightly trunk from mozilla.org. The script works well on Windows 2000 family since it was created in May 2003. I got my feet into Linux about half year ago. I had once tried to modify the script to let it work under Fedora Core 1; but I failed. ftp_get never download a file successfully. I think I was using an old version in PHP 4.3x series. I recently installed Fedore Core 3 and tried to do it again, since I think I am getting more experience on Linux. But, I get the same failure. It *seems* (no accurate proof) that ftp_get creates a zero byte file and never downloads and writes bytes to the file. I see this by doing ls -l. -- Edit bug report at http://bugs.php.net/?id=31802&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31802&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31802&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31802&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31802&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31802&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31802&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31802&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31802&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31802&r=support Expected behavior: http://bugs.php.net/fix.php?id=31802&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31802&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31802&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31802&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31802&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31802&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31802&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31802&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31802&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31802&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31802&r=mysqlcfg