File path: dist/twist/Core/Utilities/FTP.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
rename
— Rename either a file or directory 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
Twist::FTP() -> rename($strFilename, $strNewFilename);