6
Answers

Programmatically download a file as a pdf file

Cyrille Rey

Cyrille Rey

12y
5.8k
1
Hello!

I have a web application that generates documents as rtf files. The user can download these files from a webpage by clicking on a link to them.

I would like the files to be automatically downloaded as PDF files and not as RTF files.

How could I do that?

Thank you.
Answers (6)