Using PdfFileEditor.concatenate is leaving temporary files behind

Hi

I’m using PdfFileEditor.concatenate(InputStream[],OutputStream) to concatenate a number of pdf files taken from an Oracle database. This is leaving files behind in the windows temp folder or the users temp folder.

They look like this.

AsposePdfKit-682890126547508677.tmp
imageio7955.tmp

At no point am I writing or reading the file system directly.

Why are these files left behind? If they have to be left behind can I set the directory. I tried using Settings.setTemporaryDirectory but it does not write this files there.

I’m using aspose-pdf-kit-4.4.0.jar

Regards
Anthony

Hi Anthony,


Thanks for using our products and sorry for the delayed response.

I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFKITJAVA-33267. We
will investigate this issue in details and will keep you updated on the status
of a correction.

We
apologize for your inconvenience.