The question may be trivial but Google did not really help.

The user uploads a file in the .txt format, and should produce in pdf format, with the download everything is clear, and with the processing in pdf format I will also figure it out.

Just explain how to create one when the file is processed in pdf format, which would automatically give you the opportunity to download this file for the user.

  • And what exactly is the problem? If you already have a finished file, then giving the user a link to it is a trivial task. What you can not do? - Xander
  • That's exactly the problem, I do not fully understand how to give this link. - Mike Yusko

1 answer 1

Set up distribution of static files, put your pdf in a folder with statics, and give the user a link that will be glued from the address of the folder with statics + the name of the file itself.