PHP ftp_close() FunctionThe ftp_close() function is used to closes an FTP connection or given link. This function introduced in PHP 4.2.0 Syntax:
ReturnsThe ftp_close( ) function returns TRUE on success or FALSE on failure. Important note: After calling this function, you can no longer use the FTP connection and must create a new one with ftp_connect().Example 1By Using ftp_connect function we opens an FTP connection and by using ftp_close function we can closes an FTP connection. Example 2The ftp_close() function closes an FTP connection.
Next TopicPHP FTP
|