ftp_ssl_connect()

It opens an Secure SSL-FTP connection

Example

<?php

$ftpId = ftp_ssl_connect(‘ftp.phpcodez.com’);

$login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’);

ftp_size($ftpId, “test”) or die(“Failed”);

ftp_quit($ftpId);

?>