RoboLogMsgsEvent fired to provide script log information

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Using COM/OLE to Control Robo-FTP > COM Events >

RoboLogMsgsEvent fired to provide script log information

 

Overview

An event fired whenever a line of text is added to the Robo-FTP console window. Process this event if you wish to implement something similar to Robo-FTP’s console window in your application. The following are example lines of text delivered via this event:

 

*Logging on as SSL/FTP with secure control and data channels.

*Logon in progress...

*Logon successful.

 

C++ Definition

void RoboLogMsgs( BSTR bstrLogMessage )

 

VB Definition

RoboLogMsgs( ByVal LogMessage As String )

 

C# Definition

void RoboLogMsgs( ref String strLogMessage )

 

VB.NET Definition

RoboLogMsgs( ByRef LogMessage As String )

 

Return Value

None.

 

Parameters

bstrLogMessage / strLogMessage / LogMessage

A NULL terminated string containing one line of log text.

 

Remarks

The string arriving with this event will typically be less than 80 characters in length. Your handler for this event should be as brief as possible since Robo-FTP is suspended until control is returned - typically your handler should save the contents of the delivered string as appropriate and return immediately.