title: get a file from a webdav directory with XMLHttpRequest()
body: <p>i want to read text of a pdf with javascript. the pdf is saved in a webdav directory (so you have to call it with https:// not file:///?!). i tried it with XMLHttpRequest(). If i tried to load a local file it failed completely. And if i tried to load the file from the webdav there was 'Access-Control-Allow-Origin' missing. Is there any possibility to get the single pdf from the webdav? i read about cors and this error but there wasnt something what solve my problem.</p>
  <p>Someone who know how i get the file?</p>
  <p>thanks for help</p>