TwistPHP Documentation

communicate

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

communicateSend and read data from the FTP connection, this function is used to send and receive all comms with the FTP server.

Parameters

Name Type Description
[$strRequestString = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strRequestString null;

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