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

FTPConnectionOpen

 
 

Library: Net, FTP support (OMFTP)
Include: omftp.xin
Return type: OMX
Returns: 

FTP connection OMX component.


Declaration

  define external FTPConnection function FTPConnectionOpen
             server     value stream server
             user       value stream username optional initial {anonymous}
             password   value stream password optional initial {anon@anonymous}
             account    value stream account optional initial {""}


Purpose

This function establishes a connection with an FTP server, and returns an FTP connection OMX component.

Arguments:

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


  include "omftp.xin"

Example:

  ; open a connection and check for errors
  set MyCon to FTPConnectionOpen server "foo"
                                 user   "bar"
                                 password "baz"

        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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:16 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.