diff scripts/@ftp/display.m @ 9897:4bf50a7d533b

fix for FTP object constructor. Allow basic operation with matlab FTP objects
author David Bateman <dbateman@free.fr>
date Tue, 01 Dec 2009 22:13:35 +0100
parents 7f77e5081e83
children 2c356a35d7f5
line wrap: on
line diff
--- a/scripts/@ftp/display.m	Tue Dec 01 15:59:43 2009 -0500
+++ b/scripts/@ftp/display.m	Tue Dec 01 22:13:35 2009 +0100
@@ -16,7 +16,7 @@
 function display (obj)
   printf ("FTP Object\n");
   printf (" host: %s\n", obj.host);
-  printf (" user: %s\n", obj.user);
+  printf (" user: %s\n", obj.username);
   printf ("  dir: %s\n", __ftp_pwd__ (obj.curlhandle));
   printf (" mode: %s\n", __ftp_mode__ (obj.curlhandle));
 endfunction
\ No newline at end of file