JFTP::getInstance
From Joomla! Documentation
The "API17" 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.
JFTP::getInstance[edit]
Description[edit]
Returns the global FTP connector object, only creating it if it doesn't already exist.
Template:Description:JFTP::getInstance [Edit Descripton]
public function getInstance (
$host= '127.0.0.1'
$port= '21'
$options=null
$user=null
$pass=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$host | '127.0.0.1' | ||
$port | '21' | ||
$options | null | ||
$user | null | ||
$pass | null |
- Returns
- Defined on line 190 of libraries/joomla/client/ftp.php
- Referenced by
See also[edit]
- JFTP::getInstance source code on BitBucket
- Class JFTP
- Subpackage Client
- Other versions of JFTP::getInstance
Template:SeeAlso:JFTP::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />