File path: dist/twist/Core/Models/FTP/Native.model.php
Namespace: Twist\Core\Models\FTP
rename
— Rename a directory or file to a new name
Name | Description |
---|---|
$strFilename | n/a |
$strNewFilename | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strFilename = 'foo';
$strNewFilename = 'foo';
//Call the function rename with the example vars
$resNative = new \Twist\Core\Models\FTP\Native();
$resNative -> rename($strFilename, $strNewFilename);