Update ftp.class.php

Checks if file or directory exists should be in_arry not is_array