comparison scripts/@ftp/display.m @ 21634:96518f623c91

Backed out changeset dcf8922b724b
author Mike Miller <mtmiller@octave.org>
date Wed, 20 Apr 2016 11:06:03 -0700
parents dcf8922b724b
children bac0d6f07a3e
comparison
equal deleted inserted replaced
21633:dcf8922b724b 21634:96518f623c91
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 function display (obj) 19 function display (obj)
20 fprintf ("FTP Object\n"); 20 printf ("FTP Object\n");
21 fprintf (" host: %s\n", obj.host); 21 printf (" host: %s\n", obj.host);
22 fprintf (" user: %s\n", obj.username); 22 printf (" user: %s\n", obj.username);
23 fprintf (" dir: %s\n", __ftp_pwd__ (obj.curlhandle)); 23 printf (" dir: %s\n", __ftp_pwd__ (obj.curlhandle));
24 fprintf (" mode: %s\n", __ftp_mode__ (obj.curlhandle)); 24 printf (" mode: %s\n", __ftp_mode__ (obj.curlhandle));
25 endfunction 25 endfunction
26 26
27 27
28 ## No test possible for interactive function. 28 ## No test possible for interactive function.
29 %!assert (1) 29 %!assert (1)