función de PHP ftp_quit ()
Definición y Uso
ftp_quit función () para cerrar la conexión FTP.
gramática
ftp_quit(ftp_connection)
参数 | 描述 |
---|---|
ftp_connection | 必需。规定要关闭的 FTP 连接。 |
Notas y sugerencias
Consejo: Esta función es una función de alias ftp_close ().
Ejemplos
<?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);
?>
Completar PHP FTP Referencia