JFTP/quit
From Joomla! Documentation
< API16:JFTP
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Method to quit and close the connection
<! removed transcluded page call, red link never existed >
Syntax[edit]
quit()
Returns[edit]
boolean True if successful
Defined in[edit]
libraries/joomla/client/ftp.php
Importing[edit]
jimport( 'joomla.client.ftp' );
Source Body[edit]
function quit() {
// If native FTP support is enabled lets use it...
if (FTP_NATIVE) {
@ftp_close($this->_conn);
return true;
}
// Logout and close connection
@fwrite($this->_conn, "QUIT\r\n");
@fclose($this->_conn);
return true;
}
<! removed transcluded page call, red link never existed >
Examples[edit]
Code Examples[edit]