(PHP 4 >= 4.2.0)
ftp_close() closes ftp_stream and releases the resource. After calling this function, you can no longer use the FTP connection and must create a new one with ftp_connect().
See also ftp_connect()