Gentee Programming Language > Documentation > Libraries | Download documentation |
This method establishes an FTP connection with the server. This method must be called before other methods dealing with the FTP server are called.
uint ftp.open( str url, str user, str password, uint flag, uint notify )
url The name or address of the FTP server. user A user name. If the string is empty, anonymous connections are used. password A user password. If the connection is anonymous, your e-mail address is required. flag Connection flags. $FTP_ANONYM Anonymous connection. $FTP_PASV Establishes a connection in passive mode. notify function is used to receive notification messages. This parameter can be zero.
Nonzero if initialization was successful; otherwise 0.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |