<< Back


FVSDK_FtpTreeVersion

Synopsis

FVSDK_ERROR_CODE FVSDK_FtpTreeVersion(FVSDK_Session* pSession, char* pszBuffer, int nBufferSize);

Description

Retrieves the version number of FtpTree ActiveX Control.

Parameters

pszBuffer

A pointer to a buffer that will receive the null terminated string containing the version number of FtpTree. pszBuffer will be filled with the version number up to the length of (nBufferSize - 1). This function will always ensure pszBuffer is a NULL terminated string.

nBufferSize

The size of pszBuffer in bytes.

Return Value

Currently, only FVSDK_OK is returned.

Example

// buffer for getting the version number
char pszBuffer[32];

// get the version number of FtpTree ActiveX Control
if (FVSDK_FtpTreeVersion(pSession, pszBuffer, sizeof(pszBuffer)) != FVSDK_OK)
    AfxMessageBox("Unable to get the FtpTree ActiveX Control Version number.");