c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine
http://sciter.com
Other
2.11k stars 223 forks source link

load empty file #204

Open lastSpectator opened 3 years ago

lastSpectator commented 3 years ago

var filename="c://test.txt", if empty content of file text.txt;

failed to load "c://test.txt" file, error=1006

self.request(0,#get,"file://" + filename); Stream.openFile("file://" + filename,"r") loadDocument("file://" + filename) Bytes.load("file://" + filename)