File path: dist/twist/Core/Models/FTP/Socket.model.php
Namespace: Twist\Core\Models\FTP
download
— Download a file from the remote FTP server
Name | Description |
---|---|
$strRemoteFilename | n/a |
$strLocalFilename | n/a |
[$strMode = 'A'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strRemoteFilename = 'foo';
$strLocalFilename = 'foo';
$strMode = 'A';
//Call the function download with the example vars
$resSocket = new \Twist\Core\Models\FTP\Socket();
$resSocket -> download($strRemoteFilename, $strLocalFilename, $strMode);