(PHP 3>= 3.0.13, PHP 4 >= 4.0b4)
ftp_connect -- Opens up an FTP connection
Description
int ftp_connect
(string host [, int port])
Returns a FTP stream on success, false on error.
ftp_connect() opens up a FTP connection to the
specified host. The port
parameter specifies an alternate port to connect to. If it is
omitted or zero, then the default FTP port, 21, will be used.