Rename

$

FTP


->Rename(


oldfile

, 

newfile


)
$

FTP


->Ren
(

oldfile

, 

newfile

)

Renames a file on the FTP remote host. Returns undef on error.