Ken,
My PHP is v 5.6.10
I asked my host if they allow the builtin ftp_* functions?
Here is what they said:
Thank you for contacting us.
I've enabled the builtin FTP functions for FTP by enabling the FTP library for PHP via the PHP.ini file for your account in the PHP Settings section of your Hosting Control Panel. The following string was added:
extension=ftp.so
As of now you should be experiencing no issues with PHP's FTP functions.
I tried to run the php script again and got a new error message:
Warning: ftp_close() expects parameter 1 to be resource, null given in /xxx/xxxx/xxxxxx/www/hotwx.org/weather/php-cam-image-upload.php on line 161
... disconnected .... good bye