<?php$conn = ftp_connect("ftp.testftp.com") or die("Could not connect"); //要執行的一些代碼 ftp_quit($conn);?>