Rename a directory on the remote host.
App::Module('Ftp')->Rename(From, To);
Parameter |
Type |
Description |
---|---|---|
From |
Mandatory |
Old Name |
To |
Mandatory |
New Name |
return true if success
See bellow examples:
$Ftp = App::Module('Ftp')->Rename("ABC","XYZ");