Page 1 of 1

Secure FTP

Posted: Mon Jul 27, 2009 2:36 pm
by tbethea
Hell guys, I have a question involving the ftp_ssl_connect() function.

I am attempting to use the function to gather some files via SFTP but I am getting the error: "Call to undefined function ftp_ssl_connect()".

I realize that a typical windows installation does not come with the php_openssl.dll file compiled so I have installed the xampp distribution, which contains php_openssl.dll. I have un-commented the php_openssl.dll file out of the php.ini configuration but I am still unable to access the ftp_ssl_connect() functions.

Is there an obvious step that I am missing? Do I still need to compile openSSL even though I already have the dll file?

Thanks!

Re: Secure FTP

Posted: Mon Jul 27, 2009 6:29 pm
by Christopher
See the note in the docs about "Why this function may not exist."

http://us2.php.net/manual/en/function.f ... onnect.php