ftp_connect

 resource ftp_connect ( string $host [, int $port = 21 [, int $timeout = 90 ]] ) 

説明

ftp_connect() opens an FTP connection to the specified host.

戻り値

Returns a FTP stream on success or FALSE on error.