Help with ftp_connect


#1

I’m having problems using the ftp_connect function.

My server is running version 4.3.2 PHP and the error message I’m getting is:

" Call to undefined function: ftp_connect()"

Any ideas on how to help?


#2

ftp extension need to be enabled for that function to be available. If you only need to read/write files, you can simply use fopen() with ftp:// and the right login informations. Otherwise, look over the installation instruction on php.net concerning that extension.