Apologies if this question has already been answered somewhere on the forum.
I would like to display uploaded PDF documents for each user, how can I achieve this? I am saving the name of the PDF document on the database, however, the document gets saved in the folders directory.
Can somebody help with this, how can this be achieved so that the document uploaded for each user gets displayed dynamically on the page?
If you can’t access the file directly due to security, you will need to create a secure file download SA, and use that URL in embed. File Downloads with Server Connect
Just to chirp in… If you are starting to handle files, consider using S3. Files can quickly clog your web server up and S3 is an affordable and performant solution.
Yes. I need to start pitching S3 (or compatible) solutions in posts as well. Just like Git, S3 seems like a no-brainer as we continue to use it in more projects.