DEV Community

rajabilal
rajabilal

Posted on

ftp_ssl_connect with explicit ftp over tls

/ftp_ssl_connect with Explicit ftp over tls
$ftp_host = 'xxx.xxx.xxx.xxx'; /* host */
$conn_id = ftp_ssl_connect($ftp_host,9906);
ftp_pasv($conn_id, TRUE);
var_dump($conn_id);
Result: bool(false)

There are some firewall restrictions on the host and probably required white list on the host. Do I have to whitelist the client system/server or the system where I am interacting with the client system/server? Suggestions/Solutions would be greatly appreciated.

Top comments (0)