get URL returning empty string
Chipp Walters
chipp at chipp.com
Wed Jun 1 19:39:57 EDT 2005
Hi Dave,
There may be a couple of reasons for this, either latency in your
network or a funny firewall and/or proxy setup.
Here's what you can do:
repeat 5 times
put URL "http:/myURL.com" into tData
if tData is empty then next repeat
end repeat
if tData is empty then
answer "Can't get URL data!"
else
put tData into fld "xyz"
end if
I've found this sort of repeat structure to help in these situations.
Dave Beck wrote:
> Hi,
>
> I am having a problem with the "get URL" command returning an empty string.
> The "result" variable is also empty. I know that the web page that I am
> trying to load is NOT empty. It seems to work properly on some machines but
> return the empty string on others. Has anybody else experienced this issue?
> Is there a work around?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.4.0 - Release Date: 6/1/2005
More information about the use-livecode
mailing list