Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SixFile Functions (continued)

GetFileCloudRoot Function

Overview

The GetFileCloudRoot function returns a string containing the root path string for a specified cloud connection.

Syntax/Parameters

Syntax

string = GetFileCloudRoot ( string name | int index );

Parameters

name

A string with the cloud name. Or,

index

An int containing the zero-based index of the connection.

Return Value

A string containing the root path or empty on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The returned string contains the trailing slash such that it can have a filename or path attached. For example:

vfc://MyCloud/

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic