TwistPHP Documentation

chmod

File path: dist/twist/Core/Models/FTP/Native.model.php
Namespace: Twist\Core\Models\FTP
Extends:

chmodCHMOD the files permissions

Parameters

Name Type Description
$strFilenamestringn/a
$intModeintegern/a

Return Values

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

Example

<?php
//Set the variables for the example
$strFilename 'foo';
$intMode 124;

//Call the function chmod with the example vars
$resNative = new \Twist\Core\Models\FTP\Native();
$resNative -> chmod($strFilename$intMode);