Skip to main content
Question

Uniface HTTP download

  • May 7, 2026
  • 3 replies
  • 37 views

Ingo Stiller
Forum|alt.badge.img+3

Hi Freaks
We have an archive system (not written with Uniface) consisting of a server and clients. The server and clients communicate via HTTPS. The server also allows a third-party system (in this case, a Uniface application) to communicate with it via HTTPS/REST.
That works so far.
Now I have some very large files that I want to download from the server. When I use the archive client, a PDF file over 400 MB in size appears in seconds.
But when I try to download the file in Uniface, it takes over twenty minutes!
What is slowing Uniface down so much here? (It can’t be the server, the HTTP interface, or the network.)
Does anyone have any idea which parameters I need to pass to DUMP_FILE_CONTENTS so that it also downloads in seconds here?
TIA
Ingo

3 replies

Arthur Barrett
Forum|alt.badge.img+1
  • Participating Frequently
  • May 7, 2026

How exactly is the Uniface client downloading the file?  UHTTP?  Which version of Uniface? What patch level?  What operating system?  If you use the curl command line client, called via spawn() is it fast?


Ingo Stiller
Forum|alt.badge.img+3
  • Author
  • Participating Frequently
  • May 7, 2026

Hi Arthur 
For developing we still use 9.7.04 on a windows server 2025:-) 
And yes I use UHTTP with a few parameters (As described in the docu)
And our archiv clients can read the files within seconds, so the TCP-transfer is performant.

So the bottleneck must be in UnifAce/UHTTP. And the question is, can you make UnifAce run faster by adjusting certain parameters?
Ingo


Hortion Gilles
Forum|alt.badge.img+2
  • Participating Frequently
  • May 7, 2026

Hi Ingo,

We use TCPRCVBUF=1024m option to increase the file download speed.

uhttp->DUMP_FILE_CONTENTS( "TCPRCVBUF=1024m").

Gilles.