ES2Web.SaveToFile

public void SaveToFile(string path)

Parameters

Description

Saves our downloaded data to a local file specified by the path.

Note: You must call ES2.Download() before using this method.

C#

A coroutine which Downloads and saves locally all data stored in myFile.txt on the server

JS

A coroutine which Downloads and saves locally all data stored in myFile.txt on the server