ftp_close
Close the FTP connection.
ftp_close()
function closes the FTP connection.
This function closes the given connection identifier and frees the resource.
<?php $conn = ftp_connect ( "ftp.testftp.com" ) or die ( "Could not connect" ) ; //Some code to be executed ftp_close ( $conn ) ; ?>
ftp_close ( ftp_connection )
parameter | describe |
---|---|
ftp_connection | Required. Specifies the FTP connection to be used (the identifier of the FTP connection). |