|
|||||
|
||||||
Other Library Functions |
function |
FTPConnectionOpen |
Library: Net, FTP support (OMFTP)
Include: omftp.xin |
Return type: OMX Returns: FTP connection OMX component. |
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 {""}
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"