JFTP::connect
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::connect[edit]
Description[edit]
Method to connect to a FTP server.
public function connect (
$host= '127.0.0.1'
$port=21
)
Parameter | Type | Default | Description |
---|---|---|---|
$host | string | '127.0.0.1' | Host to connect to [Default: 127.0.0.1] |
$port | string | 21 | Port to connect on [Default: port 21] |
- Returns boolean True if successful
- Defined on line 239 of libraries/joomla/client/ftp.php
See also[edit]
JFTP::connect source code on BitBucket
Class JFTP
Subpackage Client
- Other versions of JFTP::connect
User contributed notes[edit]
Code Examples[edit]