From 394a92ed100e43b2d2567eb7bd2d77fe12bef985 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 15 Nov 2002 02:11:43 +0000 Subject: [PATCH] Initial Checkin. Also closes bug #20434 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@104127 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ftp/functions/ftp-ssl-connect.xml | 67 +++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 reference/ftp/functions/ftp-ssl-connect.xml diff --git a/reference/ftp/functions/ftp-ssl-connect.xml b/reference/ftp/functions/ftp-ssl-connect.xml new file mode 100644 index 0000000000..11b4bc5597 --- /dev/null +++ b/reference/ftp/functions/ftp-ssl-connect.xml @@ -0,0 +1,67 @@ + + + + + + ftp_ssl_connect + Opens an Secure SSL-FTP connection + + + Description + + resourceftp_ssl_connect + stringhost + intport + inttimeout + + + Returns a SSL-FTP stream on success or &false; on error. + + + ftp_ssl_connect opens a SSL-FTP connection to the + specified host. The port + parameter specifies an alternate port to connect to. If it's + omitted or set to zero then the default FTP port 21 will be used. + + + The timeout parameter specifies the timeout for all + subsequent network operations. If omitted, the default value is 90 + seconds. The timeout can be changed and queried at any time with + ftp_set_option and + ftp_get_option. + + + Why this function may not exist + + ftp_ssl_connect is only available if + OpenSSL support is enabled into + your version of PHP. If it's undefined and you've compiled + FTP support then this is why. + + + + See also ftp_connect + + + + +