PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB21] - Return a PDF file
[WB21] - Return a PDF file
Iniciado por guest, 01,jul. 2016 11:54 - No hay respuesta
Publicado el 01,julio 2016 - 11:54
Hi All

WebDev Classic site

What is the best way to return a PDF file to a user? I have an image control on a page. When the user clicks that image I want to return a PDF file. The exact PDF file is dependent on various at run-time things. I don't want to return a hard link to a fixed file on the server. I prefer to stream the PDF file back to the user so that the user never accesses the folder where the PDF file resides.

TIA