I am writing a software that downloads a lot of links from the web, to do this I am using InternetReadFile. Everything works great but occasionally the program is halted for a long time by a stubborn website. Is there any way to create a time out so that InternetReadFile will quite trying to download a website if its taking too long.
Many thanks in advance,
Dale.
InternetReadFile Solution Required
You can try it with ReceiveHTTPFile(), to see, if this command works better.
Another possible solution is to create your own procedure that provides a timeout. You may have a look at the PB-forums, AFAIK there are some good procedures.
Another possible solution is to create your own procedure that provides a timeout. You may have a look at the PB-forums, AFAIK there are some good procedures.
PB 4.30
Code: Select all
onErrorGoto(?Fred)