| MATLAB Function Reference | ![]() |
Syntax
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 (ftp), mput (ftp)
| rem | repmat | ![]() |
© 1994-2005 The MathWorks, Inc.