ftpOpen (Function) |
Top Previous Next |
This function will open the FTP interface. Calling this function is required before the FTP interface can be used. Also see ftpClose for closing the FTP interface when finished with the operations.
This function must be called before any communication with the server by using FTP can occur. The actual connection has not been established when this function returns. The ftpConnect function must be used to establish the connection.
Prior to communicating with the server, the network interface connection must be established. For example by using gsmPower and gprsOpen for Mobile network.
Note: Timeouts may occurs on action if they are interrupted by incoming or outgoing voice calls.
Input: None.
Returns: INT
Declaration: FUNCTION ftpOpen : INT;
Example: INCLUDE rtcu.inc |