Secure FTP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tbethea
Forum Newbie
Posts: 1
Joined: Mon Jul 27, 2009 2:30 pm

Secure FTP

Post 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!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Secure FTP

Post 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
(#10850)
Post Reply