Expand my Community achievements bar.

What is the protocol com.adobe.aemfd.docmanager.Document API uses to write/ copy/ store PDF on File System

Avatar

Level 4

hello expert,

 

My client would like to understand following from below piece of code:

Document doc = outputService.generatePDFOutput(xdpDoc, xmlDoc, outputOptions);
// Save the result in a PDF file
File pdfFile = new File("//user//data//pdf//Generated_" + System.currentTimeMillis() + ".pdf");
doc.copyToFile(pdfFile);

 

- what is the protocol (smb, sftp etc..) being used for copying generated PDF on file system? by com.adobe.aemfd.docmanager.Document

- what level of permission is needed by com.adobe.aemfd.docmanager.Document to call - doc.copyToFile(pdfFile);

- is there any specific link/ document for the same?

 

0 Replies