Page 1 of 1

ftp_ssl_connect

Posted: Thu Nov 29, 2018 2:44 pm
by fran3576
Hi, anyone know if can i use ftp_ssl_connect on ibm i?

I have installed zend server 8.5 and PHP Version 5.6.22

In windows ftp module and the OpenSSL support is built statically into php, but how can i check this? And on ibm i?

Re: ftp_ssl_connect

Posted: Mon Feb 04, 2019 10:25 am
by gfroehlich
IBM i has support for SSL, for both FTPS (FTP over SSL) and SFTP (FTP over openssh). ftp_ssl_connect uses FTPS, therefor it is necessary that host certificates on OS level are created. You can verify this with CL command "FTP RMTSYS(TEST) SECCNN(*SSL)" with option secure communication st to *SSL. If you can connect to a server where you know that FTPS is possible on server side, it will also work with PHP ftp_ssl_connect.