Hi guys,
How can I get the content of [this][1] out of the internet? My error:
C:/Users/MyName/Documents/Homepage/http:/goo-muffin.zzl.org/test.txt
My code:
var fileName = "test.txt"; var string = new List.(); function Start () { var sr = new StreamReader("http://goo-muffin.zzl.org/" + fileName); var fileContents = sr.ReadToEnd(); sr.Close(); var lines = fileContents.Split(" "[0]); var i :int; for (line in lines) { print (line); string.Add(line); // string *= line;* *// i++;* *}* *}* **