FTPConnectionGetWorkingDir

function

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

Returns: the current working directory


Declaration
define external stream function FTPConnectionGetWorkingDir
           value FTPConnection this-FTPConnection

Argument definitions

this-FTPConnection
is an OMX component of type FTPConnection


Purpose

This function returns the full path of the current working directory on the FTP server.

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


  include "omftp.xin"

Example:


  ; list the full current directory
  output "Current directory is " ||
          FTPConnectionGetWorkingDir MyCon || "%n"