FTPConnectionDelete

function

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

Declaration
define external function FTPConnectionDelete
                        value FTPConnection this-FTPConnection
                 file   value string remote-filename

Argument definitions

this-FTPConnection
is an OMX component of type FTPConnection.
remote-filename
is the name of the file you want to delete.


Purpose

This function will delete a file 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 a file and do a directory listing
  FTPConnectionDelete MyCon file "test.out"
  output FTPConnectionListDir MyCon full true