Current Location: Home> Function Categories> ftp_quit

ftp_quit

The alias for ftp_close().
Name:ftp_quit
Category:Uncategorized
Programming Language:php
One-line Description:The alias for ftp_close().

Definition and usage

ftp_quit() function closes the FTP connection.

This function closes the given connection identifier and frees the resource.

Example

 <?php
$conn = ftp_connect ( "ftp.testftp.com" ) or die ( "Could not connect" ) ;

//Some code to be executed

ftp_quit ( $conn ) ;
?>

grammar

 ftp_quit ( ftp_connection )
parameter describe
ftp_connection Required. Specifies the FTP connection to be used (the identifier of the FTP connection).
Similar Functions
Popular Articles