# VOD - Uploading files to content directory

**URL:** <https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100>\
**Category:** Wowza Streaming Engine\
**Created:** [February 28, 2011, 4:36pm UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100 "2011-02-28T16:36:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filipe\_Clemente](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@Filipe\_Clemente](https://community.wowza.com/u/Filipe_Clemente)\
**Post date:** [February 28, 2011, 4:36pm UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100/1 "2011-02-28T16:36:08Z")

</div>

Hi,

We have several videos grouped in areas. We want our users to upload the video content to those areas.

Whats the best way to do this?

We can have folders inside the content directory? The path for the video will then include those paths?

Is there any API methods or some module of Media Server 2.0, to control the acces to the content directory and have it published for some protocol so users can acces it, or we have to share that directory with the users or have some protocol like FTP with SSL so they can upload the files to it?

Thanks in advance.

Filipe

Portugal

---

<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:** [February 28, 2011, 8:50pm UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100/2 "2011-02-28T20:50:45Z")

</div>

Filipe,

Yes, subfolders of the content location become part of a stream name.

Server: rtmp://[wowza-address]:1935/vod

Stream: mp4:subfolder/sample.mp4

You will need _definst_ where the connect url and stream are one string

rtmp://[wowza-address]:1935/vod/_definst_/subfolder/sample.mp4

rtsp://[wowza-address]:1935/vod/_definst_/subfolder/sample.mp4

http://[wowza-address]:1935/vod/_definst_/subfolder/sample.mp4/playlist.m3u8

Wowza does not have any file uploading feature

For access control, there are several articles:

[https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database](https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database)

[https://www.wowza.com/docs/how-to-control-access-to-microsoft-smooth-streaming-smoothstreaming](https://www.wowza.com/docs/how-to-control-access-to-microsoft-smooth-streaming-smoothstreaming)

Richard

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [November 30, 2011, 5:33pm UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100/3 "2011-11-30T17:33:18Z")

</div>

If the StorageDir property in your Application.xml is:

C:\VOD\_Contents\jotv\

And your file is located at:

C:\VOD\_Contents\jotv\tg\tg.mp4

Then, use:

streamer=rtmp://wowza address:1935/jotvvod/

file=mp4:tg/tg.mp4

I think you do not have to use “_definst_” since this stream URI is not all one line.

---

<div class="post-metadata">

**Author:** ![Stefano\_Cavallini](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/stefano_cavallini/32/896_2.png) [@Stefano\_Cavallini](https://community.wowza.com/u/Stefano_Cavallini)\
**Post date:** [November 30, 2011, 10:09pm UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100/4 "2011-11-30T22:09:09Z")

</div>

Hello,

i have the same problem, so my VOD directory is :

C:\VOD\_Contents\jotv\tg\tg.mp4

(application name : jotvvod)

my url in JW player :

rtmp://wowza address:1935/jotvvod/_definst_/tg/

and :

file=mp4:tg.mp4

but not working, in JW player appear ‘stream not found’, where i have mistaked ?

for the file in the main directory (C:\VOD\_Contents\jotv) no problem, working fine …

thanks,

stefano

---

<div class="post-metadata">

**Author:** ![Stefano\_Cavallini](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/stefano_cavallini/32/896_2.png) [@Stefano\_Cavallini](https://community.wowza.com/u/Stefano_Cavallini)\
**Post date:** [December 1, 2011, 8:56am UTC](https://community.wowza.com/t/vod-uploading-files-to-content-directory/36100/5 "2011-12-01T08:56:36Z")

</div>

Hi randall,

ok thanks, i have solved 🙂

stefano
