My FTP-Server always responded "bool(false)" instead of presenting me a directory-listing. I had to addftp_pasv($conn_id, true); right after the $login_result = ftp_login(...); line.After that it just worked fine.