Testing several SFTP mechanisms in PHP