removed NULL reference
php3 compatibility added
Replaced ftplib because of incompatible license.
123456