ftp_ssl_connect

Example

 resource ftp_ssl_connect ( string $host [, int $port = 21 [, int $timeout = 90 ]] ) 

Description

ftp_ssl_connect() opens an explicit SSL-FTP connection to the specified host. Note: Why this function may not exist ftp_ssl_connect() is only available if both the ftp module and the OpenSSL support is built statically into php, this means that on Windows this function will be undefined in the official PHP builds. To make this function available on Windows you must compile your own PHP binaries. Note: ftp_ssl_connect() is not intended for use with sFTP. To use sFTP with PHP, please see ssh2_sftp().

Return Values

Returns a SSL-FTP stream on success or FALSE on error.