Skip to content

Buffer string from get method isn't valid a document #39

Description

@maximelafarie

I have some PDF files on NextCloud. Creating folders, adding files into them works well.
But when it's time to retrieve theses files with the get method, the Buffer string returned by the method, even if converted in real Buffer, base64 or Blob can't be read by PDF utilities like PDFTron (loadDocument method).

The original pdf file is this one but is converted later by PDFTron (the file you can download below with a uuid name).

You can check the content returned by the get method here: dummy-pdf-buffercontent.txt

It is supposed to be this file: 2d372fe6-69f5-48fe-ba3b-03651aeef2f1 (1).pdf.

I don't know if it's library-related or just a personal implementation issue.

Cheers! 🖖

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions