While trying to connect the server through ftp_ssl_connect
I'm facing two issues.
$conn_id = ftp_ssl_connect($ftp_server, <port_num>, 20)
$login_result = ftp_login( $conn_id, $ftp_user_name, $ftp_user_pass );
In this above command while using the
port_num
as 22 it showing the messageCouldn't connect to ssl
But while using 0 as
port_num
its getting connected.There other issue was, while using 0 as
port_num
theftp_login
throws the following errorWarning: ftp_login(): Command not implemented for that parameter
Note: I have tried to connect the server through FileZilla – it's working.