# Change content directory

**URL:** <https://community.wowza.com/t/change-content-directory/34561>\
**Category:** Wowza Streaming Engine\
**Created:** [June 28, 2010, 7:43am UTC](https://community.wowza.com/t/change-content-directory/34561 "2010-06-28T07:43:24Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://community.wowza.com/u/Gaurav_Agarwal)\
**Post date:** [June 28, 2010, 7:43am UTC](https://community.wowza.com/t/change-content-directory/34561/1 "2010-06-28T07:43:24Z")

</div>

Hi,

I have a very simple question, how do I change the content directory of the simple video streaming module of wowza.

By default the module streams from the “content” folder in the wowza installation directory, I want to place the content in d: and stream from that folder.

Thanks

---

<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:** [June 28, 2010, 3:46pm UTC](https://community.wowza.com/t/change-content-directory/34561/2 "2010-06-28T15:46:06Z")

</div>

Create a conf folder for the application, for example:

[wowza-install-dir]/conf/vod

Copy /conf/Application.xml to the new folder:

[wowza-install-dir]/conf/vod/Application.xml

Edit the new file, change /StorageDir to another path:

```auto
<StoragaDir>c:\content</StorageDir>

```

Richard

---

<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:** [June 28, 2010, 5:39pm UTC](https://community.wowza.com/t/change-content-directory/34561/3 "2010-06-28T17:39:07Z")

</div>

The file /conf/Application.xml is the default configuration file. So if you create a new folder in the /applications folder

[wowza-install-dir]/applications/newApp

And do not create a corresponding /conf folder, then the /conf/Application.xml is used.

It’s a good idea not to touch this folder, unless you want to create many similar applications without creating individual Application.xml files, in which case it is very useful to change that one file, then just create new applications by adding a folder.

Richard

---

<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:** [October 4, 2011, 3:50pm UTC](https://community.wowza.com/t/change-content-directory/34561/4 "2011-10-04T15:50:19Z")

</div>

Ethan,

No, this won’t work.

Richard

---

<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:** [October 4, 2011, 6:50pm UTC](https://community.wowza.com/t/change-content-directory/34561/5 "2011-10-04T18:50:19Z")

</div>

Yes, but you can have subfolders, and subfolders can be symlinks or ntfs junction to other locations.

Richard

---

<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:** [November 15, 2011, 8:04pm UTC](https://community.wowza.com/t/change-content-directory/34561/6 "2011-11-15T20:04:06Z")

</div>

Like this:

```auto
http://64.119.133.84:1935/spotvault_vod/_definst_/mp4:HD/MP4700_2997BestVari.mp4/playlist.m3u8'

```

Richard

---

<div class="post-metadata">

**Author:** ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://community.wowza.com/u/Gaurav_Agarwal)\
**Post date:** [June 28, 2010, 9:03am UTC](https://community.wowza.com/t/change-content-directory/34561/7 "2010-06-28T09:03:19Z")

</div>

Thank you Richard for the quick reply.

Just one question out of curiosity, if I change the Application.xml file in the “conf” folder, does it go any harm to other modules ?

Thanks

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [October 7, 2013, 9:24pm UTC](https://community.wowza.com/t/change-content-directory/34561/8 "2013-10-07T21:24:20Z")

</div>

Is Z: a mapped drive (mapped to a network location), or an additional local drive?

If the later then that should work, provided that the content folder exists in the root of drive Z:

If this is a mapped drive then you need to ensure that the drive is accessible without having to enter

a username and password. If that still doesn’t help, see if you can use the UNC path instead, like

this:

```auto
  <StorageDir>\\servername\sharename\content</StorageDir>

```

or similar.

If still no luck, then post the related errors seen in the error log: [install-dir]/logs/wowzamediaserver\_error.log

Daren

---

<div class="post-metadata">

**Author:** ![Ethan\_Faggett](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@Ethan\_Faggett](https://community.wowza.com/u/Ethan_Faggett)\
**Post date:** [October 4, 2011, 9:16am UTC](https://community.wowza.com/t/change-content-directory/34561/9 "2011-10-04T09:16:20Z")

</div>

I see that you can change the content directory path from the default to whatever you need it to be but, can you also change the directory to multiple drives i.e. D: and E: or multiple folders on a network that are mapped to the Wowza Server?

D:\content

E:\content

or

C:\content

D:\mynetwork\mycontent\content

Thanks,

Ethan

---

<div class="post-metadata">

**Author:** ![Ethan\_Faggett](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@Ethan\_Faggett](https://community.wowza.com/u/Ethan_Faggett)\
**Post date:** [October 4, 2011, 12:57pm UTC](https://community.wowza.com/t/change-content-directory/34561/10 "2011-10-04T12:57:27Z")

</div>

So, to clarify, only a single folder on a single drive will work?

---

<div class="post-metadata">

**Author:** ![Jim\_Bushee](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jim\_Bushee](https://community.wowza.com/u/Jim_Bushee)\
**Post date:** [November 15, 2011, 2:20pm UTC](https://community.wowza.com/t/change-content-directory/34561/11 "2011-11-15T14:20:55Z")

</div>

Hi, I have been trying to setup a new content folder for vod streaming. I have that working fine. But, I cant get a sub folder to work. I can play the file in my new content folder. But I have so many files I want to add sub folders to look for them. If I point the rtmp streamer to the sub folder the player can’t find it.

Thanks

---

<div class="post-metadata">

**Author:** ![Jim\_Bushee](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jim\_Bushee](https://community.wowza.com/u/Jim_Bushee)\
**Post date:** [November 15, 2011, 2:34pm UTC](https://community.wowza.com/t/change-content-directory/34561/12 "2011-11-15T14:34:57Z")

</div>

I got it to work with Flash streaming by adding the sub folder to the line with the file location as opposed to the file directory location(which is where I thought it would have worked) So instead of being at the end of the directory name it is at the beginning of the file name. for example

‘provider’: ‘rtmp’,

‘streamer’: ‘rtmp://64.119.133.84:1935/spotvault\_vod’,

‘file’: ‘HD/MP4700\_2997BestVari.mp4’, I added the HD/ HD is my sub folder and this works for Flash

‘image’: ‘[http://example.com/thumbs/sintel.jpg](http://example.com/thumbs/sintel.jpg)’,

‘modes’: [

{type: ‘flash’, src: ‘jwplayer/player.swf’},

{

type: ‘html5’,

config: {

‘file’: ‘[http://64.119.133.84:1935/spotvault\_vod/HD/mp4:MP4700\_2997BestVari.mp4/playlist.m3u8](http://64.119.133.84:1935/spotvault_vod/HD/mp4:MP4700_2997BestVari.mp4/playlist.m3u8)’,

‘provider’: ‘video’

}

So I just can’t figure out how to use the sub folder for ios streaming. spotvault is my content folder and HD is my sub folder.

Thanks

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [October 16, 2013, 1:40pm UTC](https://community.wowza.com/t/change-content-directory/34561/13 "2013-10-16T13:40:05Z")

</div>

Hello,

Yes, you can.

Did you try changing it and it didn’t work? Just make sure you restart your Wowza server so that the new configuration changes take effect.

Zoran

---

<div class="post-metadata">

**Author:** ![Left\_Chal](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Left\_Chal](https://community.wowza.com/u/Left_Chal)\
**Post date:** [October 16, 2013, 11:22am UTC](https://community.wowza.com/t/change-content-directory/34561/14 "2013-10-16T11:22:20Z")

</div>

Can i change the content folder from C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.1.1\content

to E:\content with

E:\content

E is a second hard drive which i installed to the same server for vod files.

Thanks

---

<div class="post-metadata">

**Author:** ![Left\_Chal](https://avatars.discourse-cdn.com/v4/letter/l/48db29/32.png) [@Left\_Chal](https://community.wowza.com/u/Left_Chal)\
**Post date:** [October 17, 2013, 12:21pm UTC](https://community.wowza.com/t/change-content-directory/34561/15 "2013-10-17T12:21:47Z")

</div>

yes it worked !!!

can also change the content folder to an other Network Drive.

if i map a Network Hard Disk it will also works?

---

<div class="post-metadata">

**Author:** ![Danny\_Fisher](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@Danny\_Fisher](https://community.wowza.com/u/Danny_Fisher)\
**Post date:** [October 6, 2013, 2:00pm UTC](https://community.wowza.com/t/change-content-directory/34561/16 "2013-10-06T14:00:40Z")

</div>

I am having trouble with this. I made the change to application.xml in the VOD folder to use “z:\content”…but when I do this it breaks my live broadcasts and my scheduler. I then went in and made the same change to the application.xml file in the live folder, no help there. So I have now reverted them all back. I am out of harddrive space where the default content folder resides…any help?
