Delivering files as a download

You all know this web feature: There is a file which is bound to some content and you want to deliver it to the user as a download. But how can we deliver this with Uniface? Three simple steps to success …

Delivering files as a download

This contribution has the following sections:

  • load the file into a variable
  • preparing the http response headers
  • delivering the data
  • Strange effects with Uniface 9.x (incl. solution)

As usual with possibility to ask the author and full documentation on the Uniface proc code.

Leave a Reply