function
Library: FTP support (OMFTP)
Include: omftp.xin |
Returns: FTP connection OMX component. |
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
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"
; open a connection and check for errors set MyCon to FTPConnectionOpen server "foo" user "bar" password "baz"