comparison scripts/@ftp/ftp.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 0f70468a56cd 446c46af4b42
children 4197fc428c7d
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
29 ## 29 ##
30 ## @multitable @columnfractions 0.15 0.8 30 ## @multitable @columnfractions 0.15 0.8
31 ## @headitem Method @tab Description 31 ## @headitem Method @tab Description
32 ## @item ascii @tab Set transfer type to ascii 32 ## @item ascii @tab Set transfer type to ascii
33 ## @item binary @tab Set transfer type to binary 33 ## @item binary @tab Set transfer type to binary
34 ## @item cd @tab Change remote working directory 34 ## @item cd @tab Change remote working directory
35 ## @item close @tab Close FTP connection 35 ## @item close @tab Close FTP connection
36 ## @item delete @tab Delete remote file 36 ## @item delete @tab Delete remote file
37 ## @item dir @tab List remote directory contents 37 ## @item dir @tab List remote directory contents
38 ## @item mget @tab Download remote files 38 ## @item mget @tab Download remote files
39 ## @item mkdir @tab Create remote directory 39 ## @item mkdir @tab Create remote directory
40 ## @item mput @tab Upload local files 40 ## @item mput @tab Upload local files
41 ## @item rename @tab Rename remote file or directory 41 ## @item rename @tab Rename remote file or directory
42 ## @item rmdir @tab Remove remote directory 42 ## @item rmdir @tab Remove remote directory
43 ## @end multitable 43 ## @end multitable
44 ## 44 ##
45 ## @end deftypefn 45 ## @end deftypefn
46 46
47 function obj = ftp (host = "", username = "anonymous", password = "") 47 function obj = ftp (host = "", username = "anonymous", password = "")
48 if (nargin == 1 && isa (host, "ftp")) 48 if (nargin == 1 && isa (host, "ftp"))
49 obj = host; # Copy constructor 49 obj = host; # Copy constructor