I have long established code:
dim h as new HTTPSocket
h.yield = true
x= h.get ("https://mysite.co.uk/test/" + "Somefile", 2)
if h.HTTPStatusCode = 200 then
//use the returned data
end if
It used to work, and still does on one site
On another site, I get Error 301 permanent relocated, even though the file exists.
Is this a bug?
Something I can fix on the website?
Something I can fix by switching to URLConnection?
(If URLConnection, what is the equivalent? - all the examples I can find discuss GET/POST commands, and I cant seem to guess what the magic words are…)
6 posts - 3 participants