source:
prextra/@ftp/rename.m
@
140
Last change on this file since 140 was 113, checked in by bduin, 8 years ago | |
---|---|
File size: 298 bytes |
Line | |
---|---|
1 | function 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. |
9 | connect(h) |
10 | |
11 | h.jobject.rename(oldname,newname); |
Note: See TracBrowser
for help on using the repository browser.