PHP FTP_QUIT () Funktion
Definition und Verwendung
FTP_QUIT () Funktion, um die FTP-Verbindung zu schließen.
Grammatik
ftp_quit(ftp_connection)
参数 | 描述 |
---|---|
ftp_connection | 必需。规定要关闭的 FTP 连接。 |
Tipps und Hinweise
Tipp: Diese Funktion ist ein Alias ftp_close () Funktion.
Beispiele
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_quit($conn);
?>
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
//some code to be executed
ftp_quit($conn);
?>
Füllen Sie PHP FTP - Referenz