Save file directly to specified path without showing save or open dialogue

I’m invoking javascript in a web page using


This javascript opens dialogue asking user to save or open the file. I want to save the file directly to the path without showing the dialogue to user. How can i achieve this. I’m scraping the web page. I’m extracting the required details from the web page.


function download_file() {
    var summaryFlag = 0;
    if (document.getElementById("frmincludefilesummary").checked) {
        summaryFlag = 1;
    url = '/filedatabase/file_process_request.html?mru=53616c7&type=doc';
    url += '&sum=' + summaryFlag + '&logo=0&xcode=name&serve_txt=0&folderid=';
    document.location = url;

56 thoughts on “Save file directly to specified path without showing save or open dialogue”

  1. Nice post. I was checking continuously this blog and I’m inspired! Very helpful info particularly the last part 🙂 I take care of such info a lot. I used to be seeking this particular info for a very lengthy time. Thank you and best of luck.

  2. Pingback: keto hot chocolate
  3. I�m no longer positive where you are getting your information, however good topic. I must spend a while finding out more or working out more. Thanks for wonderful info I used to be searching for this information for my mission.

  4. Pingback: easy essay writing
  5. Pingback: writing good essay
  6. Pingback: write your essay
  7. Pingback: free no deposit