Hi all,
This *may* not be an AppGameKit issue, but it's new since the new beta's so I thought I'd ask if anyone else had the problem while I wait on my hosting account tech guys coming back. My app needs to connect to a linked hosting package to get data to proceed right at the start, which used to work fine, but since the Beta 6 (not tried the others, was working on other modules) it seems to fail. It uses an https connection, and typing it into firefox works fine, so I know the hosting site is up. However it does say it needs "passive ftp" protocols - I assume this isnt something possible with AppGameKit? I moved hosting packages and the old one worked fine, which is why I think it might be nothing to do with AGK.
Code goes something like this:
conn=createhttpconnection()
sethttphost(conn,"XXXX.com",1,"XXXX","XXXX")
do
t=timer()+2.5
repeat
Print("I appear to be connected....asking for file in "+str(t-timer()))
sync()
until t<timer()
gethttpfile(conn,"XXXX/page10.jpg","image5.jpg")
do
print ("Trying file...")
print("Done "+str(gethttpfileprogress(conn)))
sync()
if gethttpfilecomplete(conn)=1 then goto ending:
loop
loop
ending:
Obviously the actual details exist where the "X"'s are here, but I;ve tried every variation I can make and I just get empty files.