Text file opens in browser instead of downloads
To start a download on a WebFile, you use the ShowURL method to show its URL: localFile = GetFolderItem("localfile.txt") Both of the above code samples are using the default method of the Open event to load the entire file into memory Ensure the browser downloads the file rather