Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

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