Re: Question re download timeout setting

2023-07-24 Thread Mark Smith via use-livecode
Hi William, This is a long shot, but in case it inspires a solution, I do something like the following to upload and download files to dropbox (which I think is similar to what Matthias is suggesting as well). put "/todoitems.sqlite" into pPath -- the path to the file on server, in this case

Re: Question re download timeout setting

2023-07-22 Thread William Prothero via use-livecode
Matthias, I'll try it. Thanks so much for your help. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Jul 22, 2023, at 4:32 AM, matthias rebbe via use-livecode > wrote: > > Hello Bill, > > since V8 or so tsNET external is include

Re: Question re download timeout setting

2023-07-22 Thread Alex Tweedly via use-livecode
On 22/07/2023 04:29, Bob Sneidar via use-livecode wrote: Use sockets to test the connection. Open socket to If the result is not empty then… Close socket Hmmm - I have tried it but not got reliable results. According to the dictionary that won't work reliably. Dictionary says: (4.5) The

Re: Question re download timeout setting

2023-07-22 Thread matthias rebbe via use-livecode
Hello Bill, since V8 or so tsNET external is included in any commercial/business license. Even put URL "ftp: or http: will be executed with tsNET by liburl. So in case you did not manually disabletsNET for your app, you could use tsNetSetTimeouts to set timeout values. By default tsNET does n

Re: Question re download timeout setting

2023-07-21 Thread Bob Sneidar via use-livecode
Use sockets to test the connection. Open socket to If the result is not empty then… Close socket Sent from my iPhone > On Jul 21, 2023, at 17:49, Alex Tweedly via use-livecode > wrote: > >  >> On 22/07/2023 01:02, prothero--- via use-livecode wrote: >> Folks: >> Sorry for the trivial que

Re: Question re download timeout setting

2023-07-21 Thread Alex Tweedly via use-livecode
On 22/07/2023 01:02, prothero--- via use-livecode wrote: Folks: Sorry for the trivial question, but.. I have an app on my iphone that I am updating from a several years old app the previously worked on an older version of livecode. It needs to access a mysql database on the internet. It works