source: prextra/@ftp/binary.m @ 152

Last change on this file since 152 was 113, checked in by bduin, 8 years ago
File size: 352 bytes
RevLine 
[113]1function 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.
9connect(f)
10
11% There isn't an easier way to set the value of a StringBuffer.
12f.type.setLength(0);
13f.type.append('binary');
Note: See TracBrowser for help on using the repository browser.