API17:JFTP::getInstance
From Joomla! Documentation
JFTP::getInstance
Description
Returns the global FTP connector object, only creating it if it doesn't already exist.
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
JFTP::getInstance source code on BitBucket
Class JFTP
Subpackage Client- Other versions of JFTP::getInstance
User contributed notes
Code Examples