locked
change save as directory C# RRS feed

  • Question

  • User202943253 posted

    how can I change the default path directory  of  a file downloaded ?(Downloads is my default directory )

    thanks

    Wednesday, December 9, 2020 4:03 PM

Answers

  • User475983607 posted

    Ah Okay. So i can not change it in my action controller stuff when download a pdf or excel file filled with my table data? 

    Correct.  A web application cannot save a file on the user's machine. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 9, 2020 4:25 PM

All replies

  • User475983607 posted

    It depends on the browser you are using.  The browser settings will have the download folder.

    Wednesday, December 9, 2020 4:17 PM
  • User202943253 posted

    Ah Okay. So i can not change it in my action controller stuff when download a pdf or excel file filled with my table data? 

    Wednesday, December 9, 2020 4:21 PM
  • User475983607 posted

    Ah Okay. So i can not change it in my action controller stuff when download a pdf or excel file filled with my table data? 

    Correct.  A web application cannot save a file on the user's machine. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 9, 2020 4:25 PM