Search found 8 matches

by charlesBUSd8qF
Wed Jul 25, 2018 7:00 am
Forum: Talking LiveCode
Topic: [SOLVED] How do I use TSNet Indy to send an email with attachment (pdf)?
Replies: 4
Views: 322

Re: How do I use TSNet Indy to send an email with attachment (pdf)?

Hi Mike, If you are using the commercial edition of LC, tsNet will automatically be available in the IDE. When building standalones, make sure that you select tsNet in the list of inclusions. There are two things I can see from your code.... You are storing the e-mail addresses you want the e-mail s...
by charlesBUSd8qF
Thu Nov 16, 2017 11:28 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Jacque, In this case it is really simple - the first syntax was wrong! (I had quickly copied it from the dictionary to get the default values rather than checking back in my code and didn't notice the error). The reason Simon's app was hanging was simply that LC was hitting a runtime error on the...
by charlesBUSd8qF
Wed Nov 15, 2017 10:37 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Jacque, A value of zero for the second parameter means that there is no limit on how long a request can take. If you set this to a non-zero value, it limits the maximum total time a request can take regardless of how much data has to be transferred - which is why it is generally best to leave it ...
by charlesBUSd8qF
Tue Nov 14, 2017 11:17 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Simon, Sorry, I should have clarified myself about the resetAll command. What I meant is that if your callback function is getting executed with the pHttpResponseCode variable containing something other than 200, than your application is unlikely to have hit a "lock up" situation where a resetAll...
by charlesBUSd8qF
Tue Nov 14, 2017 5:06 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Simon, I am not sure the resetAll command will help in that specific piece of code. When you are testing in the simulator, are you using the tsNetSetTimeouts line of code or is it commented out? If it is commented out, then the behaviour you are seeing is possible. The dropbox call may be hanging...
by charlesBUSd8qF
Mon Nov 13, 2017 8:07 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Jacque, The default setting for tsNet is for no timeout during transfer, which is likely why this issue is occurring. You can reduce this as low as you feel comfortable based on your specific application and how it is used. If the app is expected to be very responsive, then I can’t see any issue ...
by charlesBUSd8qF
Mon Nov 13, 2017 3:21 am
Forum: Talking LiveCode
Topic: How to clear "error Previous request not completed" ?
Replies: 26
Views: 1665

Re: How to clear "error Previous request not completed" ?

Hi Simon, I recommend adding the following code prior to using the Dropbox API to see if it fixes your issue: tsNetSetTimeouts 30, , 300000, 60000, 30, 1000 This adjusts the default timeout settings in tsNet so that if a transfer goes idle for 30 seconds, it will close the connection which should pr...
by charlesBUSd8qF
Thu May 04, 2017 11:33 am
Forum: Internet
Topic: tsNet and proxy servers
Replies: 2
Views: 1170

Re: tsNet and proxy servers

Hi Trevor, I have found a bug in tsNet on certain platforms related to it ignoring the proxy settings (this will be fixed in tsNet version 1.2.9): http://quality.livecode.com/show_bug.cgi?id=19650 You can set the proxy username/password directly in tsNetSetProxy or, if you are using tsNet via libUrl...

Go to advanced search