Added optional port argument to ftp_connect()
removed NULL reference
php3 compatibility added
Replaced ftplib because of incompatible license.
123456789