ftp_quit
The alias for ftp_close().
ftp_quit()
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_quit ( $conn ) ; ?>
ftp_quit ( ftp_connection )
parameter | describe |
---|---|
ftp_connection | Required. Specifies the FTP connection to be used (the identifier of the FTP connection). |