File path: dist/twist/Core/Models/FTP/Socket.model.php
Namespace: Twist\Core\Models\FTP
upload
— Upload a file to the remote FTP server
Name | Description |
---|---|
$strLocalFilename | n/a |
$strRemoteFilename | n/a |
[$strMode = 'A'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strLocalFilename = 'foo';
$strRemoteFilename = 'foo';
$strMode = 'A';
//Call the function upload with the example vars
$resSocket = new \Twist\Core\Models\FTP\Socket();
$resSocket -> upload($strLocalFilename, $strRemoteFilename, $strMode);