source:
prextra/@ftp/binary.m
@
117
Last change on this file since 117 was 113, checked in by bduin, 8 years ago | |
---|---|
File size: 352 bytes |
Rev | Line | |
---|---|---|
[113] | 1 | function binary(f) |
2 | %BINARY Sets binary transfer type. | |
3 | % BINARY(F) sets binary transfer type for the FTP object F. | |
4 | ||
5 | % Matthew J. Simoneau, 31-Jan-2002 | |
6 | % Copyright 1984-2004 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('binary'); |
Note: See TracBrowser
for help on using the repository browser.