src/Clients/FtpClient.php
public 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;
	}
public 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;
	}
public 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 ; }
Method to quit and close the connection

@return  boolean  True if successful

@since   1.0
Method to quit and close the connection