In file ../../include/war170api.h:

WARAPI_RESULT Warapi_OpenSession(const WAR_OUT WARAPI_CCSTR_T Host, const WAR_OUT WARAPI_PORT Port, const WAR_OUT WARAPI_CCSTR_T LoginName, const WAR_OUT WARAPI_CCSTR_T Password, WAR_IN WARAPI_SESSION_HANDLE *SessionHandle, WAR_IN int *ErrorValue)

Open a session to War FTP Daemon

Documentation

Open a session to War FTP Daemon.

This function initiates a RPC communication session with War FTP Daemon.

Returns:
WARAPI_CALL_OK if the function succeeded.
Parameters:
Host - Hostname. This can be a IP address like "192.168.1.100", an Internet domain name like "ftp.jgaa.com" or simply "localhost" if you are connecting to the local machine.
Port - The port number used by teh server. If the server use the portmapper, use the WARAPI_DEFAULT_PORT macro
LoginName - The login name to log on as. This user account must have remote access privilegies. You can use the WARAPI_DEFAULT_LOGIN macro to specify the default system administrator account.
Password - The password for the login account.
SessionHandle - Pointer to a WARAPI_SESSION_HANDLE variable receive the login handle if the funcion succeed.
ErrorValue - A error value to indicate why the operation failed. This value will be WARAPI_ERR_OK if the function succeeded.
See Also:
Warapi_CloseSession

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.