# Get content directory in Custom Module

**URL:** <https://community.wowza.com/t/get-content-directory-in-custom-module/34665>\
**Category:** Wowza Streaming Engine\
**Created:** [May 20, 2010, 2:50pm UTC](https://community.wowza.com/t/get-content-directory-in-custom-module/34665 "2010-05-20T14:50:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lieven\_Cardoen](https://avatars.discourse-cdn.com/v4/letter/l/22d042/32.png) [@Lieven\_Cardoen](https://community.wowza.com/u/Lieven_Cardoen)\
**Post date:** [May 20, 2010, 2:50pm UTC](https://community.wowza.com/t/get-content-directory-in-custom-module/34665/1 "2010-05-20T14:50:27Z")

</div>

Is there a way to get the path of the content module in a custom Module (extending ModuleBase)?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 20, 2010, 3:57pm UTC](https://community.wowza.com/t/get-content-directory-in-custom-module/34665/2 "2010-05-20T15:57:31Z")

</div>

You can do:

```auto
public void onAppStart(IApplicationInstance appInstance) {
		String dir = appInstance.getStreamStorageDir();
		String path = appInstance.getStreamStoragePath();
	}

```

Richard
