24 Sep 2019 Here, /path/to/script.js is an absolute path to the script from the site root. The benefit of a separate file is that the browser will download it and The code above uses a hard-coded path for saving the file. Notice the format of the path. In order to deal with cross-platform issues, Acrobat uses its own file path specification called the Device Independent File Path Format. If a script does not use this path format, the doc.saveAs() function will not work.
Hi, We have a scenario, where we need to capture the absolute path for a downloaded file and save it into database. Currently we are using IE8, so we are not able to set a default path where the file should get downloaded all the time(we cannot change the download location by changing registry files due to security reason). I would appreciate if someone can suggest us something for following
JavaScript