I try to connect to my ftp server using a simple php script in my LAN and also in my hosting server and I always get the same error,
'Fatal error: Call to undefined function: ftp_connect() in /usr/www/htdocs/mydominio/tiempo/ftpget.php on line 2
I use PHP 4.0.2 and always works fine. What's the problem ? Why undefinel function ? It's not a function in PHP 4?
I don't understang this error message !!
Here you are the mini-code:
$conn = ftp_connect("oneftp.server.com");
ftp_login($conn, "anonymous", "email@example.com");
ftp_get($conn, "data.txt", "data.txt", FTP_ASCII);
Well, I have changed the user, the pass and the server