5 Replies Latest reply on Mar 5, 2010 9:21 AM by try67

    Access the file system to delete a file

    HalvaJoy

      I have created a work-flow in which a user modifies a PDF document and then saves it with a new, automatically generated file name by clicking a button on the cover page of the document. I am able to use the doc.saveAs() method to execute the save.

       

      Is there a way to delete the old file with JavaScript? I would like to delete the old version of the file immediately after the new version is successfully saved.

       

      I am fearing that security concerns prompted Adobe to handicap Acrobat JavaScript and prevent full access to the file system.

       

      Any suggestions?