comparison scripts/@ftp/ascii.m @ 14217:7912e682aa30

doc: Update docstrings for @ftp class. * aspell-octave.en.pws: Add new functions to spellchecker. * system.txi: Add DOCSTRING entries for all @ftp functions * ascii.m, binary.m, cd.m, close.m, delete.m, dir.m, ftp.m, loadobj.m, mget.m, mkdir.m, mput.m, rename.m, rmdir.m: Update docstrings.
author Rik <octave@nomad.inbox5.com>
date Wed, 18 Jan 2012 21:15:50 -0800
parents 72c96de7a403
children 1c89599167a6
comparison
equal deleted inserted replaced
14216:b3730ed107a6 14217:7912e682aa30
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} ascii (@var{f}) 20 ## @deftypefn {Function File} {} ascii (@var{f})
21 ## Put the FTP connection @var{f} into ascii mode. 21 ## Set the FTP connection @var{f} to use ASCII mode for transfers.
22 ## ASCII mode is only appropriate for text files as it will convert
23 ## the remote host's newline representation to the local host's newline
24 ## representation.
25 ##
22 ## @var{f} is an FTP object returned by the @code{ftp} function. 26 ## @var{f} is an FTP object returned by the @code{ftp} function.
23 ## @end deftypefn 27 ## @end deftypefn
24 28
25 function ascii (f) 29 function ascii (f)
26 __ftp_ascii__ (f.curlhandle); 30 __ftp_ascii__ (f.curlhandle);