# Manage Files in Local Storage

## 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-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.FileManager.CloudType.html) property of the [FileManager](/componentone/api/mvc/online-mvc-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.FileManager.html) class, which accepts the cloud name from the [CloudTypes](/componentone/api/mvc/online-mvc-core/dotnet-api/C1.AspNetCore.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-core/dotnet-api/C1.AspNetCore.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-core/dotnet-api/C1.AspNetCore.Mvc/C1.Web.Mvc.FileManager.InitPath.html) property.

![](https://cdn.mescius.io/document-site-files/images/9b6a6cfe-b8e8-42e9-8a04-da6cb7762977/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
<c1-file-manager id="FileManager" host-url="http://localhost:8580" init-path="ExcelRoot/LocalDocuments" cloud-type="LocalStorage">
</c1-file-manager>
```