Mercurial > hg > octave-nkf
comparison scripts/@ftp/binary.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} {} binary (@var{f}) | 20 ## @deftypefn {Function File} {} binary (@var{f}) |
21 ## Put the FTP connection @var{f} into binary mode. | 21 ## Set the FTP connection @var{f} to use binary mode for transfers. |
22 ## In binary mode there is no conversion of newlines from the remote | |
23 ## representation to the local representation. | |
24 ## | |
22 ## @var{f} is an FTP object returned by the @code{ftp} function. | 25 ## @var{f} is an FTP object returned by the @code{ftp} function. |
23 ## @end deftypefn | 26 ## @end deftypefn |
24 | 27 |
25 function binary (f) | 28 function binary (f) |
26 __ftp_binary__ (f.curlhandle); | 29 __ftp_binary__ (f.curlhandle); |