TwistPHP Documentation

size

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

sizeGet the size of any given file on the remote FTP server

Parameters

Name Type Description
$strFilenamestringn/a

Return Values

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

Example

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

//Call the function size with the example vars
$resSocket = new \Twist\Core\Models\FTP\Socket();
$resSocket -> size($strFilename);