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

FTPConnectionOpen

 
 

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

Returns: FTP connection OMX component.


Declaration

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

Argument definitions

server
is the machine on which the FTP server resides
username
is the username you wish to use to log into that server (this has a default value of "anonymous")
password
is the password you're using to log into the FTP server (this has a default value of "anon@anonymous").
account
is an account name.


Purpose

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

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
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.