FTPConnectionChangeDir

function

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

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

Argument definitions

this-FTPConnection
is an OMX component of type FTPConnection
dir
is the directory you want to change to


Purpose

This function is used to change directories on the FTP server.

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


  include "omftp.xin"

Example:


  ; change to a directory named "wa" and list the contents
  include "omftp.xin"
  
  process
     FTPConnectionChangeDir MyCon dir "wa"
     output FTPConnectionListDir MyCon