# Get a list of all VOD files

**URL:** <https://community.wowza.com/t/get-a-list-of-all-vod-files/47081>\
**Category:** Wowza Developer Dojo\
**Created:** [May 23, 2016, 6:14am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081 "2016-05-23T06:14:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Haworth](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@Nick\_Haworth](https://community.wowza.com/u/Nick_Haworth)\
**Post date:** [May 23, 2016, 6:14am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/1 "2016-05-23T06:14:43Z")

</div>

Hi,

I’m trying to get a list of all available VOD files from a Wowza Streaming Engine installation (i.e everything in /content), but I can’t see a method to do this using your API. It seems that there are very few API VOD operations in general - why is this?

I’ve also attempted to do this via a custom java module. I’m able to list all files in the content folder (via **applicationInstance.getStreamStorageDir()**), but is there a better way to do this?

Thanks.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 23, 2016, 8:20am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/2 "2016-05-23T08:20:20Z")

</div>

You can get a list of active recorders using the get verb and recorder endpoint. This guide will walk you through it:

Stream recording query examples for the Wowza Streaming Engine REST API

This will only return active recorders any previously recorded will have to be obtained via http provider or this module:

How to get a list of files in your application’s content location (ModuleVideoNameList)

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Jason\_Hatchett](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hatchett/32/391_2.png) [@Jason\_Hatchett](https://community.wowza.com/u/Jason_Hatchett)\
**Post date:** [June 1, 2016, 3:12am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/3 "2016-06-01T03:12:37Z")

</div>

Hello,

There is not a call to check the contents of a directory on your instance, this is more of a server level function, and you may be able to retrieve this through a server level call.

Wowza Streaming Engine does not handle the function of indexing a directory, which is why the module you have mentioned is ideal for your desired outcome:

[https://www.wowza.com/docs/how-to-get-a-list-of-files-in-your-application-s-content-location-modulevideonamelist](https://www.wowza.com/docs/how-to-get-a-list-of-files-in-your-application-s-content-location-modulevideonamelist)

Is there any reason that this module will not provide what you need for your workflow?

Regards,

Jason Hatchett

---

<div class="post-metadata">

**Author:** ![Nick\_Haworth](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@Nick\_Haworth](https://community.wowza.com/u/Nick_Haworth)\
**Post date:** [May 23, 2016, 6:48am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/4 "2016-05-23T06:48:24Z")

</div>

Hi salvadore,

Thanks for the quick response.

What is the relationship between a VOD file and an “active recorder”? We’re simply hoping to add video files (probably in MP4 format) into the **/content** directory (either through the Wowza API or directly through the file system), so we aren’t explicitly creating any active recorders…

I’ve also had a look at the ModuleVideoNameList module and it seems that it does what I have already tried (getting a list of all files in the content directory from the file system).

---

<div class="post-metadata">

**Author:** ![Luis\_Molina\_Martinez](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@Luis\_Molina\_Martinez](https://community.wowza.com/u/Luis_Molina_Martinez)\
**Post date:** [May 2, 2018, 6:30am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/5 "2018-05-02T06:30:48Z")

</div>

Hi All, your code is for Flash, do you have some other code (java, javascript) that calls this function?

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [June 1, 2018, 2:03am UTC](https://community.wowza.com/t/get-a-list-of-all-vod-files/47081/6 "2018-06-01T02:03:18Z")

</div>

You can convert this example module so that you can call it with an [HTTPProvider](https://www.wowza.com/docs/how-to-create-an-http-provider).
