rename - Rename file on FTP server
Syntax
rename(f,'oldname','newname')
Description
rename(f,'oldname','newname') changes
the name of the file oldname to newname in
the current directory of the FTP server f, where f was
created using ftp.
Examples
Connect to server testsite, view the contents,
and change the name of testfile.m to showresults.m.
test=ftp('ftp.testsite.com');
dir(test)
. .. testfile.m
rename(test,'testfile.m','showresults.m')
dir(test)
. .. showresults.m
See Also
dir (ftp), delete (ftp), ftp, mget, mput
 | removets | | repmat |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit