mkdir

PURPOSE ^

MKDIR Create a new directory on an SFTP server.

SYNOPSIS ^

function mkdir(h, dirname)

DESCRIPTION ^

MKDIR  Create a new directory on an SFTP server.

  Syntax:
    MKDIR(H, DIRNAME)

  Description:
    MKDIR(H, DIRNAME) creates a directory on the server.

  Examples:
    mkdir(h, dirname)

  See also:
    SFTP

  Authors:
    Joan Pau Beltran  <joanpau.beltran@socib.cat>

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

mkdir.m

SOURCE CODE ^

0001 function mkdir(h, dirname)
0002 %MKDIR  Create a new directory on an SFTP server.
0003 %
0004 %  Syntax:
0005 %    MKDIR(H, DIRNAME)
0006 %
0007 %  Description:
0008 %    MKDIR(H, DIRNAME) creates a directory on the server.
0009 %
0010 %  Examples:
0011 %    mkdir(h, dirname)
0012 %
0013 %  See also:
0014 %    SFTP
0015 %
0016 %  Authors:
0017 %    Joan Pau Beltran  <joanpau.beltran@socib.cat>
0018 
0019 %  Copyright (C) 2014-2016
0020 %  ICTS SOCIB - Servei d'observacio i prediccio costaner de les Illes Balears
0021 %  <http://www.socib.es>
0022 %
0023 %  This program is free software: you can redistribute it and/or modify
0024 %  it under the terms of the GNU General Public License as published by
0025 %  the Free Software Foundation, either version 3 of the License, or
0026 %  (at your option) any later version.
0027 %
0028 %  This program is distributed in the hope that it will be useful,
0029 %  but WITHOUT ANY WARRANTY; without even the implied warranty of
0030 %  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0031 %  GNU General Public License for more details.
0032 %
0033 %  You should have received a copy of the GNU General Public License
0034 %  along with this program.  If not, see <http://www.gnu.org/licenses/>.
0035 
0036   mexsftp('mkdir', h.sftp_handle, dirname);
0037   
0038 end

Generated on Fri 06-Oct-2017 10:47:42 by m2html © 2005