source: prextra/@ftp/rename.m @ 153

Last change on this file since 153 was 113, checked in by bduin, 8 years ago
File size: 298 bytes
Line 
1function rename(h,oldname,newname)
2%RENAME Rename a file on an FTP site.
3%    RENAME(FTP,OLDNAME,NEWNAME) renames a file on an FTP site.
4
5% Matthew J. Simoneau, 14-Nov-2001
6% Copyright 1984-2004 The MathWorks, Inc.
7
8% Make sure we're still connected.
9connect(h)
10
11h.jobject.rename(oldname,newname);
Note: See TracBrowser for help on using the repository browser.