Update Ftp.php

added throw exception in getConnection() 
added setPassiveMode to change passive