ID:               30058
 Updated by:       [EMAIL PROTECTED]
 Reported By:      l_faillie at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Solaris 8
 PHP Version:      4.3.8
 New Comment:

Does setting the connection to passive mode help?

ftp_pasv($ftp_connection, true);



Previous Comments:
------------------------------------------------------------------------

[2004-09-10 22:46:55] l_faillie at yahoo dot com

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 this bug report at http://bugs.php.net/?id=30058&edit=1

Reply via email to