Function: file.Exists

Checks if a file or folder exists.

Syntax

{
	"method": "file.Exists",
	"params": {
		"file": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<int> Exists( AdvString file );
public Task<EnumFileType> ExistsAsync(string file, CancellationToken ct = default);
exists(file: string): Promise<EnumFileType>;

Parameters

file : string

Path or Id of File or Folder.

Result : int (EnumFileType)

Remarks

This method requires API read access.