Contents Previous Next Subchapters

open - Opening an ftp Connection to a Remote Host
Syntax ftp("open,remote site name,user id,password)
See Also: closeftp

Description
Opens an ftp connection to a remote site over the internet. The return value is true if the connection was established and false otherwise. The character row vector remote site name specifies the name of the remote site. The character row vector user id specifies the login user name on the remote machine. The character row vector password specifies the password for the user.

Example
If ftp is not currently linked to O-Matrix, enter the command
     dll dll\ftp.dll, ftp
You can now open a remote connection by entering the command
     ftp("open", "ftp.microsoft.com", "anonymous", "guest")
O-Matrix will attempt to connect to the Microsoft ftp site. O-Matrix will respond
     T
if the connection is successful and
     F
otherwise.