view scripts/@ftp/close.m @ 19341:0f70468a56cd

Remove interactive ftp functions from list of functions missing BIST tests. * @ftp/ascii.m, @ftp/binary.m, @ftp/cd.m, @ftp/close.m, @ftp/delete.m, @ftp/dir.m, @ftp/display.m, @ftp/ftp.m, @ftp/loadobj.m, @ftp/mget.m, @ftp/mkdir.m, @ftp/mput.m, @ftp/rename.m, @ftp/rmdir.m, @ftp/saveobj.m: Add %!assert (1) to remove these interactive functions from the list of functions missing tests.
author Mike Sander <msander@cogeco.ca>
date Tue, 04 Feb 2014 21:49:45 -0500
parents d63878346099
children 4197fc428c7d
line wrap: on
line source

## Copyright (C) 2009-2013 David Bateman
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later version.
##
## Octave is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Octave; see the file COPYING.  If not, see
## <http://www.gnu.org/licenses/>.

## -*- texinfo -*-
## @deftypefn {Function File} {} close (@var{f})
## Close the FTP connection represented by the FTP object @var{f}.
##
## @var{f} is an FTP object returned by the @code{ftp} function.
## @end deftypefn

function close (f)
  __ftp_close__ (f.curlhandle);
endfunction


## No test possible for interactive function.
%!assert (1)