source:
prextra/@ftp/close.m
@
137
Last change on this file since 137 was 113, checked in by bduin, 8 years ago | |
---|---|
File size: 313 bytes |
Rev | Line | |
---|---|---|
[113] | 1 | function close(h) |
2 | %CLOSE Close the connection with the server. | |
3 | % CLOSE(FTP) closes the connection with the server. | |
4 | ||
5 | % Matthew J. Simoneau, 14-Nov-2001 | |
6 | % Copyright 1984-2004 The MathWorks, Inc. | |
7 | ||
8 | try | |
9 | h.jobject.disconnect; | |
10 | catch | |
11 | % Do nothing. The error was probably that we were already disconnected. | |
12 | end |
Note: See TracBrowser
for help on using the repository browser.