RoboGetVBSVariableVBS method to get the value of Robo-FTP script variable

<< Click to Display Table of Contents >>

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

RoboGetVBSVariableVBS method to get the value of Robo-FTP script variable

 

Overview

Method used in VBScript to get the value of the specified Robo-FTP script variable. This method may also be in VB programs instead of RoboGetVariable() if you wish.

 

VBS Definition

RoboGetVBSVariable( Variable As String ) As String

 

Return Value

A string containing the value of the specified Robo-FTP variable. An error is thrown if the variable is not defined or if Robo-FTP is unable to process the request.

 

Parameters

Variable

A string defining the Robo-FTP script variable name.

 

Remarks

The RoboStartSession() method must be called prior to calling RoboGetVBSVariable().