特別注意端口號:php
<?php $conn_id=ftp_connect('test.com','6305') or die("Couldn't connect to ftp_server"); var_dump($conn_id); ?>