From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      4.3.0
PHP Bug Type:     Sockets related
Bug description:  fsockopen() tls doenst work with tlsftp's

Trying to tls://ftp_ip:port ... 

Warning: fsockopen() [function.fsockopen]:
php_stream_sock_ssl_activate_with_method: SSL handshake/connection failed
in ftpclass.php on line 204

Warning: fsockopen() [function.fsockopen]: failed to activate SSL mode 2
in ftpclass.php on line 204

The TLS SERVER replies tru fread() at least :

UK (glftpd 1.28_Linux+TLS) ready.
500 '': Command not understood.

I would expect when using a tls-prefix its working similare to
ftp_ssl_connect (what is working fine but not needed cause no filepointer
back).

No chance in php to connect ftp+tls tru fsock which is needed if you need
a filepointer back to use fread/write etc.

Greetings

Toppi 

-- 
Edit bug report at http://bugs.php.net/?id=21642&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21642&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21642&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21642&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21642&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21642&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21642&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21642&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21642&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21642&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21642&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21642&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21642&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21642&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21642&r=gnused

Reply via email to