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

Library: omftp - FTP support
Include: omftp.xin
Return type: Boolean
Returns:       

Returns true or false.


Declaration

  define external switch function FTPConnectionIsInError
             value FTPConnection this-FTPConnection


Purpose

This function returns true if the last operation on the connection generated an error.

Argument:

Example:

  ; example of an error-reporting function
  define function ftp-err value FTPConnection con
  as
    local stream report variable
    do when FTPConnectionIsInError con
       put #error "ftp error:%n"
       FTPConnectionGetStatusReport con into report
       repeat over report
          put #error report || "%n"
       again
       halt
    done

      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.