locked
Save Files on hard disk location path RRS feed

  • Question

  • Hi, I have an MVC application, wherein I have to save the files uploaded through a file explorer to a shared path or any other file location, apart from project files.

    I have checked for examples online, but usually the approach given is using Server.MapPath  logic, which does the job but it creates a folder inside the project folder itself.

    So is there any System.IO functionalities available for MVC C# wherein we could be able to save files on a given location and not inside the project files or folders. Also for this will we require ASP.NET Impersonation etc., to make sure only a single user or person has rights to access this folder.

    Do we have any examples or references or approach for the said?.

    Thanks In Advance!!!..

    • Moved by CoolDadTx Monday, March 5, 2018 4:15 PM ASP.NET related
    Monday, March 5, 2018 9:16 AM

All replies

  • Please post questions related to MVC in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Monday, March 5, 2018 4:14 PM