php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31850 ftp+ssl isn't working
Submitted: 2005-02-05 02:02 UTC Modified: 2005-03-20 18:08 UTC
From: speedy444 at hotmail dot com Assigned:
Status: No Feedback Package: FTP related
PHP Version: 5.0.3 OS: win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
22 - 2 = ?
Subscribe to this entry?

 
 [2005-02-05 02:02 UTC] speedy444 at hotmail dot com
Description:
------------
short example script:

<?
$fp = ftp_ssl_connect("some.ftp.server");
ftp_login($fp,"blaat","test");
ftp_close($fp);
?>

I compiled php with vc++ 6 using the latest openssl. But when I try to use ftp_ssl_connect + ftp_login I get this error:
PHP Warning:  ftp_login(): SSL/TLS handshake failed in justascript.php on line 204
PHP Warning:  ftp_login(): AUTH TLS successful in justascript.php on line 204

And after that the connection is still open but the ssl layer isn't active. 





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-28 20:47 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-03-20 18:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2006-02-21 21:16 UTC] pmorton at cobizinc dot com
This issue is not fixed. I have recently recompiled snapshot php5.1-200602211930.tar.gz for win32. I would be happy to help troubleshoot this issue
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 10:01:29 2024 UTC