AddFTPConnection

 

Adds a new connection to the list of stored connections and returns the ID of the connection. This ID can be used in other GetFTP* and SetFTP* methods to retrieve or change the settings.

 

AddFTPConnection (pDevMode As Long, szName As String) As Integer

 

Input value pDevMode:       - handle to the BlackIceDEVMODE.

Input value szName             - Name of the new connection.

Return value                         - The function returns the ID of the stored connection settings. This ID can be used in other GetFTP* and SetFTP* functions to retrieve or change the settings.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.