ftp_connect

Example

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

Description

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

Return Values

Returns a FTP stream on success or FALSE on error.