ftp_quit
ftp_close() 的別名。
ftp_quit()
函數關閉FTP 連接。
該函數關閉給出的連接標識符並釋放資源。
<?php $conn = ftp_connect ( "ftp.testftp.com" ) or die ( "Could not connect" ) ; //要執行的一些代碼 ftp_quit ( $conn ) ; ?>
ftp_quit ( ftp_connection )
參數 | 描述 |
---|---|
ftp_connection | 必需。規定要使用的FTP 連接(FTP 連接的標識符)。 |