File path: dist/twist/Core/Utilities/FTP.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
connect
— Connect to the remote FTP server
Name | Description |
---|---|
$strHost | n/a |
[$intPort = 21] | n/a |
[$intConnectionTimeout = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strHost = 'foo';
$intPort = 21;
$intConnectionTimeout = null;
//Call the function connect with the example vars
Twist::FTP() -> connect($strHost, $intPort, $intConnectionTimeout);