Stream define default name (wodWebServer / wodWebServer.NET)

by Yves, (1204 days ago) @ Jasmine

The file is located on the local server where our service (with your component) is running.
example C:\xxxx\Solinf.pdf


Open as a filestream and sent to the client

Dim fs As New System.IO.FileStream(a, System.IO.FileMode.Open)
Args.Response.Stream = fs

On the client side the file is always downloaded as download.pdf (in Microsoft Edge) or pdf.pdf in Firefox

locked

Complete thread: