TwistPHP Documentation

cwd

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

cwdChange working directory

Parameters

Name Type Description
$strDirectorystringn/a

Return Values

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

Example

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

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