WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP ftp_quit () function


Definition and usage

ftp_quit () function closes the FTP connection.

Syntax

ftp_quit (ftp_connection)

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


Tips and comments

Tip: This function is an alias for the ftp_close () function.


Example

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