PureBasic Forum
https://www.purebasic.fr/english/

ReceiveHTTPMemory failing
https://www.purebasic.fr/english/viewtopic.php?f=13&t=71701
Page 1 of 1

Author:  Dude [ Sat Nov 10, 2018 1:58 am ]
Post subject:  ReceiveHTTPMemory failing

I've got this line in my app:

Code:
server=ReceiveHTTPMemory(website$+"basedir/"+Left(t$,1)+"/"+t$+".txt")

Which worked fine up until last night, but now fails (server=0 all the time). It's a HTTPS link, but it also fails with HTTP.

I don't know why. If I put the URL into Firefox, the text file displays (yay!); but if I put it into a WebGadget, it fails to display. :(

Any ideas why it suddenly stopped working? I've tried disabling both my firewall and anti-virus, and a friend who tried it on his PC said it fails, too. So it's not just my PC; it must be my website. But like I said, all was fine yesterday (server=non-zero and loaded the file). :cry:

[Edit] I noticed just now that I can successfully download the file using ReceiveFTPFile() instead, so maybe ReceiveHTTPMemory() is buggy? But that wouldn't explain why the WebGadget() won't display the file. Hmm.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/