1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

FTP SSL Problem

Discussion in 'Plesk for Linux - 8.x and Older' started by andykim, Jan 22, 2007.

  1. andykim

    andykim Guest

    0
     
    I'm not entirely sure if this is a problem that is in Plesk or maybe the version of PHP that came with it but I'm having the following problem and there doesn't seem to be any solution that I can find out there.

    I'm trying to connect to an SSL Server using PHP and I'm getting an error I can't find anything on the internet for. I can't tell you the server I'm trying to access but I'll give you what I can. The following is my code:

    ....
    if ($ftp_conn = ftp_ssl_connect('########',####)) {
    $ftp_log = ftp_login($ftp_conn,'******','******');
    fto_close($ftp_conn);
    }
    ....

    When I run this, I get the following error:

    Warning: ftp_login() [function.ftp-login]: SSLv23/TLSv1 in xxx.php on line 185

    I can't seem to figure out what is causing this. The server is running PHP 4.4.4, on Apache 2.0.54. The server is running PLESK 8.0.1 on FreeBSD 6.1. If there is anyone out there that can help that would be great! Thanks!
     
Loading...