I've used a linux function to convert a list of PDF files to text.

pdftotext -htmlmetaThis work well for most of my files.
but for a small amount of them, this return me a blank text file.
My unsuccesssfull pdf files were not encrypted, not securised by user / password and they were not read only.

Check Solution