From: l_faillie at yahoo dot com Operating system: Solaris 8 PHP version: 4.3.8 PHP Bug Type: Scripting Engine problem Bug description: ftp_put silently fails
Description: ------------ Hi all, I'm working on a script to update a web site using ftp_* functions using CLI version of PHP. Unfortunatly, it doesn't work because all calls to ftp_put() fail w/o anything displayed. There is also some ftp_chdir() and ftp_pwd() in my script and they work correctly : the problem is only w/ ftp_put(). I have added some puts() inside php's code, made some checks and I think the problem comes from the scripting engine as PHP_FUNCTION(ftp_fput) of ext/ftp/php_ftp.c is never called. I think also it's related to my own compilation environment under Solaris 8 because I build PHP on my HP-UX 10.20 workstation at work and I don't have this bug. Questions : - does someone know if there is issue w/ Solaris 8 or 1 year old GNU tool ? - where can I put breakpoint using gdb to know what's append just before ftp_put is called ? Thanks for your help. Laurent -- Edit bug report at http://bugs.php.net/?id=30058&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30058&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30058&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30058&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30058&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30058&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30058&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30058&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30058&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30058&r=support Expected behavior: http://bugs.php.net/fix.php?id=30058&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30058&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30058&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30058&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30058&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30058&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30058&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30058&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30058&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30058&r=mysqlcfg