# Manage Files in Local Storage

FileManager provides a convenient way to connect and interact with local storage. Learn more about managing files in local storage with FileManager in MVC documentation.

## Content



In addition to cloud storage, FileManager supports the local storage. It uses the storage APIs of the C1WebAPI to integrate with the local storages and handles all your files stored in the local server. File Manager allows you to choose the local storage using [CloudType](/componentone/api/mvc/online-mvc/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.FileManager.CloudType.html) property of the **FileManager** class, which accepts the cloud name from the [CloudTypes](/componentone/api/mvc/online-mvc/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.CloudTypes.html) enumeration. Additionally, it also allows you to host the Url of the machine which hosts the server using the [HostUrl](/componentone/api/mvc/online-mvc/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.FileManager.HostUrl.html) property and define the initial path of the root folder from cloud container folder using the [InitPath](/componentone/api/mvc/online-mvc/dotnet-framework-api/C1.Web.Mvc/C1.Web.Mvc.FileManager.InitPath.html) property.

![File Manager control integrating with the local storage and accessing a folder from the file system in local storage](https://cdn.mescius.io/document-site-files/images/2b3ac322-100e-4637-958d-fb40dcda3f44/images/filemanagerlocalstorage.png)

The following example demonstrates the File Manager control integrating with the local storage and accessing a folder from the file system in local storage. Hence, the InitialPath key is set as "ExcelRoot/LocalDocuments" in the example.

**View Code**

```razor
@(Html.C1().FileManager().Id("FileManager")
.HostUrl("http://localhost:61712")
.InitPath("ExcelRoot/LocalDocuments")
.CloudType(CloudTypes.LocalStorage)
)
```