JClientFtp::connect
Method to connect to a FTP server
Signature
public function connect([string
$host = '127.0.0.1',
[integer
$port = 21]] )
Parameters
-
$host
- Host to connect to [Default: 127.0.0.1]
-
$port
- Port to connect on [Default: port 21]
Returns
- boolean
- True if successful