swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

FTPConnectionGetWorkingDir

 
 

Library: FTP support (OMFTP)
Include: omftp.xin
Return type: String

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"

        Other Library Functions
   FTPConnection
   FTPConnectionChangeDir
   FTPConnectionClose
   FTPConnectionDelete
   FTPConnectionDeleteDir
   FTPConnectionGetStatusReport
   FTPConnectionGetWorkingDir
   FTPConnectionIsInError
   FTPConnectionIsOpen
   FTPConnectionListDir
   FTPConnectionMakeDir
   FTPConnectionOpen
   FTPConnectionRemoteInputFile
   FTPConnectionRemoteOutputFile
   FTPConnectionSetASCII
   FTPConnectionSetBinary
   FTPIsVersionCompatible
   FTPLibraryVersion
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.