The ftp_close() function is used to close an FTP connection.The ftp_close() function closes an FTP connection.
bool ftp_close ( resource $ftp_stream )
ftp_close() closes the given link identifier and releases the resource.
Parameter | Description |
---|---|
ftp_stream | The link identifier of the FTP connection |
Returns TRUE on success or FALSE on failure.