File path: dist/twist/Core/Models/FTP/Native.model.php
Namespace: Twist\Core\Models\FTP
connect
— Open a new FTP connection
Name | Description |
---|---|
$strHost | n/a |
[$intPort = 21] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strHost = 'foo';
$intPort = 21;
//Call the function connect with the example vars
$resNative = new \Twist\Core\Models\FTP\Native();
$resNative -> connect($strHost, $intPort);