How to set download path for pdf file

How to set download path for pdf file

YezuzYezuz Posts: 2Questions: 1Answers: 0

Hi I am using datatables to export pdf files.I want to use it on a mobile application using cordova. I want to know how I can set the download path on the device

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,099Questions: 1Answers: 10,393 Site admin
    Answer ✓

    You can't. There is no option to set the download path for an HTML5 created and downloaded file - it will go to the browser's default. That is a limitation in the local file creation APIs that are available, rather than a limitation in DataTables.

    Allan

  • YezuzYezuz Posts: 2Questions: 1Answers: 0

    So can I know where the file will be downloaded if I compile the application for mobile

  • allanallan Posts: 63,099Questions: 1Answers: 10,393 Site admin

    I don't think so. File download location just isn't part of the specification - desktop or mobile.

    Allan

This discussion has been closed.