Mercurial > hg > octave-nkf
annotate scripts/@ftp/display.m @ 10687:a8ce6bdecce5
Improve documentation strings.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 08 Jun 2010 20:22:38 -0700 |
parents | 4bf50a7d533b |
children | 2c356a35d7f5 |
rev | line source |
---|---|
9880 | 1 ## Copyright (C) 2009 David Bateman |
2 ## | |
3 ## This program is free software; you can redistribute it and/or modify | |
4 ## it under the terms of the GNU General Public License as published by | |
5 ## the Free Software Foundation; either version 2 of the License, or | |
6 ## (at your option) any later version. | |
7 ## | |
8 ## This program is distributed in the hope that it will be useful, | |
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 ## GNU General Public License for more details. | |
12 ## | |
13 ## You should have received a copy of the GNU General Public License | |
14 ## along with this program; If not, see <http://www.gnu.org/licenses/>. | |
15 | |
16 function display (obj) | |
17 printf ("FTP Object\n"); | |
18 printf (" host: %s\n", obj.host); | |
9897
4bf50a7d533b
fix for FTP object constructor. Allow basic operation with matlab FTP objects
David Bateman <dbateman@free.fr>
parents:
9880
diff
changeset
|
19 printf (" user: %s\n", obj.username); |
9880 | 20 printf (" dir: %s\n", __ftp_pwd__ (obj.curlhandle)); |
21 printf (" mode: %s\n", __ftp_mode__ (obj.curlhandle)); | |
22 endfunction |