TwistPHP Documentation

upload

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

uploadUpload a file to the remote FTP server

Parameters

Name Type Description
$strLocalFilenamestringn/a
$strRemoteFilenamestringn/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
$strLocalFilename 'foo';
$strRemoteFilename 'foo';
$strMode 'A';

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