
-----------------------------------
agnivohneb
Tue Mar 18, 2008 8:35 am

environment or not
-----------------------------------
I seem to have a problem when I want to access a file from the web using the Net.OpenURLConnection function. I always get a 404. I am not sure if it is my code or the environmnet because when I ruin it in 4.0.5 I get a 404 HTML error. When I run it in 4.1.1 the program will stop responding.
Here it is:
var url : string := "http://turingnetchatserver.doesntexist.com/test.txt"

var netStream : int
var line : string

netStream := Net.OpenURLConnection (url)
if netStream 