TwistPHP Documentation

download

File path: dist/twist/Core/Utilities/FTP.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

downloadDownload a file from the remote FTP server

Parameters

Name Type Description
$strRemoteFilenamestringn/a
$strLocalFilenamestringn/a
[$strMode = 'A']stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strRemoteFilename 'foo';
$strLocalFilename 'foo';
$strMode 'A';

//Call the function download with the example vars
Twist::FTP() -> download($strRemoteFilename$strLocalFilename$strMode);