hello I have finally got the HFS HTTP server to work with forward porting and all of that jazz. The problem is When I execute my http program it does not work 100% When I get into the server and when I try to get a file from the server. It says I got the file but when I look up the file locally it is 0KB size with nothing in it. Here is my code and the link to the http server: thank you in advance!
http://www.rejetto.com/hfs/
SetDisplayAspect( 0.66 )
http = createhttpconnection()
sethttphost(http,"",0,"","")
rem A Wizard Did It!
do
sync()
if gethttpresponseready(http)=1
file = gethttpfile(http,"info.txt","in.txt")
do
sync()
if gethttpfilecomplete(http)=1
goto k
endif
loop
k:
if file > 1
closefile(file)
goto ender
endif
else
print("no")
endif
loop
ender:
closehttpconnection(http)
the ip, username and password were taken out.
sov the game creator!