FTPConnectionMakeDir

function

Library: FTP support (OMFTP)
Include: omftp.xin

Declaration
define external function FTPConnectionMakeDir
                        value FTPConnection this-FTPConnection
                  dir   value string dir

Argument definitions

this-FTPConnection
is an OMX component of type FTPConnection
dir
is the name of the new directory.


Purpose

This function will create a new directory on the FTP server.

To use this function, you must include the following line at the beginning of your program:


  include "omftp.xin"

Example:


  ; make a dir and do a list
  FTPConnectionMakeDir MyCon dir "test-dir"
  output FTPConnectionListDir MyCon full true