source: prextra/@ftp/ascii.m @ 141

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