Store User-Uploaded Files

Information

PSPDFKit Server has been deprecated and replaced by PSPDFKit Document Engine. All PSPDFKit Server and PSPDFKit for Web Server-Backed licenses will work as before and be supported until 15 May 2024 (we will contact you about license migration). To start using Document Engine, refer to the migration guide. With Document Engine, you’ll have access to robust new capabilities (read the blog for more information).

When you want to store a file uploaded by an end user, the file needs to be uploaded to your service first, and then forwarded to PSPDFKit Server.

PSPDFKit Server is used to store PDF documents and their annotations. Your server has access to a rich HTTP API.

  1. A user uploads a document to your backend.

  2. Your backend forwards the uploaded PDF file to PSPDFKit Server. In return, it receives a document identifier. On your server, you only have to store the identifier; we store the PDF document, its annotations, and the meta information. Document files are stored in the asset storage, which can be one of the supported asset storage backends.