To view files on a server using ASP.Net, you can set up a basic file browser on a webpage with the appropriate permissions. You can also rename files by utilizing the System.IO
namespace. However, keep in mind that this process involves accessing and modifying files specifically located on the server.
While JavaScript has limited capabilities to access a user's device (for security reasons), it is not feasible to alter files on a user's device through JavaScript on a regular web page. There may be some exceptions where this is achievable through browser extensions.
If your goal is to enable users of your ASP.Net site to modify files on their devices (the client side), there are a few options available:
Develop an application that users can download and use on their own devices.
Utilize a browser plugin such as Flash, Silverlight, ActiveX, or Java. Although these solutions have limitations and drawbacks, they technically provide access to the file system.