Retrieving a Log as a String

Use the Log property to return the entire log as a string which can be handled separately in your VB application or VB script.

Syntax

String Object.Log (long taskIdx)

Parameters

TaskIdx

This is the task index in the array of tasks created by asynchronous methods [0.. AsyncTaskNumber minus one, or - 1 (last asynchronous task started)]

It has a default value of -1 = current task.

Example

Set MySite = CreateObject("CuteFTPPro.TEConnection")

MySite.Host = "ftp://ftp.cuteftp.com"

MySite.Connect

MsgBox MySite.Log