WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP ftp_close () function


Definition and usage

ftp_close () Function closes the FTP connection.

Syntax

ftp_close (ftp_connection)

parameters description
ftp_connection Required. Specifies the FTP connection to close.


Example

<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_close($conn);
?>