source:
prextra/@ftp/ascii.m
@
140
Last change on this file since 140 was 113, checked in by bduin, 8 years ago | |
---|---|
File size: 346 bytes |
Rev | Line | |
---|---|---|
[113] | 1 | function ascii(f) |
2 | %ASCII Sets ASCII transfer type. | |
3 | % ASCII(F) sets ASCII transfer type for the FTP object F. | |
4 | ||
5 | % Matthew J. Simoneau, 31-Jan-2002 | |
6 | % Copyright 1984-2005 The MathWorks, Inc. | |
7 | ||
8 | % Make sure we're still connected. | |
9 | connect(f) | |
10 | ||
11 | % There isn't an easier way to set the value of a StringBuffer. | |
12 | f.type.setLength(0); | |
13 | f.type.append('ascii'); |
Note: See TracBrowser
for help on using the repository browser.