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

FTPConnectionChangeDir

 
 

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

        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.