ID: 30058 User updated by: l_faillie at yahoo dot com Reported By: l_faillie at yahoo dot com -Status: Feedback +Status: Open Bug Type: FTP related Operating System: Solaris 8 PHP Version: 4.3.8 New Comment:
No, I haven't time to go deeper yet :( Previous Comments: ------------------------------------------------------------------------ [2004-11-28 16:42:26] [EMAIL PROTECTED] l_faillie at yahoo dot com: Do you have any additional info about it? ------------------------------------------------------------------------ [2004-10-07 20:32:02] l_faillie at yahoo dot com Oups, yes, you're right ! Well, I've added new probe inside PHP_FUNCTION(ftp_put) [the right one ;-D] and it seems the problem come from the call of instream = php_stream_fopen(local, mode == FTPTYPE_ASCII ? "rt" : "rb", NULL); around line 890 that returns a NULL pointer. I continue to track this bug. ------------------------------------------------------------------------ [2004-10-06 17:16:55] [EMAIL PROTECTED] Why would PHP call ftp_fput() when your script doesn't have any calls to it in it? (you call ftp_put(), notice the missing 'f' in front of put...) ------------------------------------------------------------------------ [2004-10-05 22:43:32] l_faillie at yahoo dot com > This seems more like feature request (getting more info > as an error message if the ftp_*() functions fail..) > but anyway, It should be better if we have better message in case of failure, but as I said previously, I put some tracing puts() in ext/ftp/php_ftp.c and it seems that PHP_FUNCTION(ftp_fput), line 768 is never called. So for me it's more an issue in the PHP parser than in ftp function themselfs. Unfortunatly, I'm not confident enough w/ PHP parser to trace deeply in the code. > are you sure this isn't some firewall issue..? (like > I've had had to struggle with for last 6 months.. :) Yes, because both machines are on the same networks and I can connect using the normal Solaris FTP client. ------------------------------------------------------------------------ [2004-10-05 20:14:20] [EMAIL PROTECTED] This seems more like feature request (getting more info as an error message if the ftp_*() functions fail..) but anyway, are you sure this isn't some firewall issue..? (like I've had had to struggle with for last 6 months.. :) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30058 -- Edit this bug report at http://bugs.php.net/?id=30058&edit=1