Fatal error: Call to undefined function: ftp_conne

Fatal error: Call to undefined function: ftp_conne

Posted by: amyers
Posted on: 2005-06-20 01:22:00

Hello all,

Fatal error: Call to undefined function: ftp_connect

I am getting this error message when I try to use the PHP command;

$conn_id = ftp_connect($ftp_server)

from what I have read on the net about this problem, it is something to do with the PHP config file (which I dont have access to, as I am on a shared server).

Is there any work around ?

Kind Regards
Mike Marriott


Mike Marriott

Re: Fatal error: Call to undefined function: ftp_c

Posted by: decswxaqz
Posted on: 2005-06-20 03:33:00

Is there something you need to use FTP for, because you could do most things for fwrite and fopen.

EDIT: and a few system calls :)

Re: Fatal error: Call to undefined function: ftp_c

Posted by: amyers
Posted on: 2005-06-20 05:14:00

Warning: fopen(): URL file-access is disabled in the server configuration in

I thought I may get an error like this.

in phpinfo, I have the line,

allow_url_fopen Off Off

Mike Marriott

Re: Fatal error: Call to undefined function: ftp_c

Posted by: decswxaqz
Posted on: 2005-06-20 05:30:00

http://wiki.dreamhost.com/index.php/CURL
I'm guessing you are using HTTP file names instead of relative ones? Or are you opening a ftp connection to a different machine/host?

Re: Fatal error: Call to undefined function: ftp_c

Posted by: amyers
Posted on: 2005-06-20 14:48:00

Different host.

ftp2.bom.gov.au

Thanks !

Mike Marriott

Tags: ftp serverundefined functionkind regardsphperror messageconnaccess