FTPConnectionDeleteDir

function

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

Declaration
define external function FTPConnectionDeleteDir
                        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 directory you want to delete


Purpose

This function will delete a directory from the FTP server.

To use this function, you must include the following line near the start of your program:


  include "omftp.xin"

Example:


  ; delete "test-dir" directory and do a directory listing
  FTPConnectionDeleteDir MyCon dir "test-dir"
  output FTPConnectionListDir MyCon full true