开启 FTP 连结。
语法: int ftp_connect(string host, int [port]);
传回值: 整数
函式种类: 网路系统
本函式可开启 FTP 伺服器的连结。参数 host 为 FTP 伺服器的网址。参数 port 通常省略,若 FTP 伺服器的埠号 (port) 不是 21 时才需要加本参数。若无错误则传回连线代码,失败则传回 false 值。
ftp_quit()