swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
    Related Concepts   Other Library Functions  
function   FTPConnectionClose    

Library: omftp - FTP support
Include: omftp.xin

Declaration

  define external function FTPConnectionClose
             value FTPConnection this-FTPConnection


Purpose

This function closes the connection to the FTP server. If a source or an output object is active when this function is closed, the source/output function is closed as well. For the source, it does not mean that OmniMark will not match any more data, since it may already have some data buffered. It does mean that no more data will be read from the server. For the output object, the connection will be closed, but if it is attached to a stream, the stream will still be open. Sending data to an open stream with a closed output attachment will put the FTP connection in error.

Argument:

Example:

  ; close the FTP connection
  FTPConnectionClose MyCon

      Related Concepts
   Security considerations
 
Other Library Functions
   FTPConnectionChangeDir
   FTPConnectionClose
   FTPConnectionDelete
   FTPConnectionDeleteDir
   FTPConnectionGetStatusReport
   FTPConnectionGetWorkingDir
   FTPConnectionIsInError
   FTPConnectionIsOpen
   FTPConnectionListDir
   FTPConnectionMakeDir
   FTPConnectionOpen
   FTPConnectionRemoteInputFile
   FTPConnectionRemoteOutputFile
   FTPConnectionSetASCII
   FTPConnectionSetBinary
   FTPIsVersionCompatible
   FTPLibraryVersion
 
----  

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

Generated: August 11, 2000 at 3:07:17 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.