NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bruce

Pages: [1] 2 3 ... 745
1
Web Server - Ask For Help / Re: webserver example 79
« on: April 19, 2026, 08:59:14 PM »
seems to work here. Note that it *has* to be on a secure connection (or 127.0.0.1).

2
Web Server - Ask For Help / Re: Multi site host maintenance message
« on: March 19, 2026, 02:06:08 AM »
Hi Tim,

I don't think you can do what you want here. The include is limited to the \web folder (for each site).
For security You can't access files from elsewhere on the disk using an include.
I recommend you just make a batch file to propagate your message to the other folders.

Cheers
Bruce

3
I'm not sure you're asking the right question.

From your screen-shot I'm guessing you are writing custom JavaScript, which in turn makes a request to the server? And you've got custom code on the server to generate the response? But your custom JavaScript code doesn't match your custom response - or more accurately you don't feel you have enough control over the response to achieve what you are wanting to do?

Am I on the right track?

Bruce

4
Sorry for the long wait, but it is fixed in Build 1.15, which is currently being built for upload, so should go up today.

Niels, I haven't had any emails from you recently, so maybe send me an email to see if they're coming through?

>> I am a little worried why we are not getting any feedback on this site.

I've just been really busy the last while, and so my visits here have been thin of late. After today's build is up I'll try and catch up a bit.

Update: Build is now up.

5
Web Server - Ask For Help / Re: Proxy server for let's encrypt?
« on: September 21, 2025, 10:42:06 PM »
You succeeded with the correct approach Jeff, the DNS challenge is the only way to go if port 80 is closed. However I thought I'd comment on this just to clear it up a bit;


     So, I see a proxy tab that has a check box to "allow acme client to use proxy server".  If I can get the IT Dept. to create a simple proxy server that is isolated but has 80 and 443 open, would this work?


that Proxy option is for the ACME _Client_. It does not bypass the need for the server to serve the challenge file over port 80. So, no, that approach was not going to be useful to you.

cheers
Bruce

6
Web Server - Ask For Help / Re: Give focus back to Browse after OnClick
« on: September 21, 2025, 10:36:55 PM »
It sounds to me like there's a JavaScript error on the page when saving.
I'd need to see an example though to understand what the error might be.

8
Web Server - Ask For Help / Re: AI / machine learning
« on: August 11, 2025, 01:41:58 AM »
Hi Rupert,

Your question is ambiguous. Define more what your clients are asking for.
Are they asking for AI in the Clarion IDE? In your program? In something else?
If they want AI in your program, what sort of AI are they looking for? Programming? Image recognition? Something else?

Cheers
Bruce

9
Hi David,

Please post an example app & dict so I can duplicate here.

And which build of the DriverKit & NetTalk are you using?

Cheers
Bruce

10
Web Server - Ask For Help / Re: How to debug this slow request?
« on: August 03, 2025, 06:27:14 PM »
Hi Johan,

If it's the NEXT that takes the time, then your VIEW is likely doing a full table scan (perhaps multiple of them in TPS) to construct the VIEW. Post the View declaration here, the file declarations (for files included in the View) and also the contents of the View Filter.

Cheers
Bruce

11
Web Server - Ask For Help / Re: How to debug this slow request?
« on: July 25, 2025, 05:08:46 AM »
These are just timer events in the NetTalk DLL.
They're unrelated to your issue.

My guess is that the reply to the browser is not completing. ie you have some code in the thread, after the drop down is populated, which delays the ending of the thread. In that case the connection is not closed, so the browser does not start processing the reply.

Cheers
Bruce

12
In the WebServer procedure, NetTalk extension, Performance tab (I think) there's an option along the lines of "save server state between runs".
In your system is this option on?


13
 correct the URL [http://sesiro.cloudcover.insure/apiTotalPolicyRecalc] to [https://sesiro.cloudcover.insure/apiTotalPolicyRecalc]

14
Web Server - Ask For Help / Re: sending SMS via GSM Modem
« on: June 14, 2025, 11:15:58 PM »
more likely you'll use the WinEvent Serial Port functions.
It all depends on your SMS modem, and how it connects to the PC.

Cheers
Bruce

15
Web Server - Ask For Help / Re: Api endpoint stream - how?
« on: May 22, 2025, 07:01:32 PM »
Hi Niels,

>> I have some static ftp files that I need to expose via a REST api.

are you over thinking this?
It sounds to me like you just put the static file in the web folder (or sub folder), then the client can just GET it (ie use a regular WebClient to Fetch the file.)

I'm not sure this needs to be in an API?

But assuming it does need to be an API;

Add a StringTheory object to the RETURNS tab of the API.
Put your file in there (probably Base64 encoded.)

>> I'm aware that I can BASE64 encode them but the client would prefer them as "files".

Hence my suggestion above that this is just a regular GET.
If you want more control, then check out the FileDownload (40) example. That has a generic "ServeDocument" procedure in the app for serving files.

An API method will return a JSON or XML response - and of course any binary in there would need to be appropriately encoded at the very least for Json or XML.
I recommend Base64 because that's easier.

Cheers
Bruce




Cheers
Bruce


Pages: [1] 2 3 ... 745