move($old_file, $new_file) 
| Parameters: | 
  |  
|---|---|
| Returns: | 
 TRUE on success, FALSE on failure  |  
| Return type: | 
 bool  |  
Lets you move a file. Supply the source and destination paths:
// Moves blog.html from "joe" to "fred"
$this->ftp->move('/public_html/joe/blog.html', '/public_html/fred/blog.html');
Note
If the destination file name is different the file will be renamed.
Please login to continue.