PHP ftp_close() 函數(shù)
完整的 PHP FTP 參考手冊
定義和用法
ftp_close() 函數(shù)關(guān)閉 FTP 連接。
語法
ftp_close(ftp_connection)
參數(shù) | 描述 |
ftp_connection | 必需。規(guī)定要關(guān)閉的 FTP 連接。 |
實(shí)例
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_close($conn);
?>
完整的 PHP FTP 參考手冊