# Record stream directly to S3 with AWS Multipart Upload?

**URL:** https://community.wowza.com/t/record-stream-directly-to-s3-with-aws-multipart-upload/34370
**Category:** Wowza Streaming Engine
**Created:** [December 1, 2010, 10:14pm UTC](https://community.wowza.com/t/record-stream-directly-to-s3-with-aws-multipart-upload/34370 "2010-12-01T22:14:44Z")
**Posts on this page:** 1
**Showing post:** 5

<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: [January 5, 2011, 1:38pm UTC](https://community.wowza.com/t/record-stream-directly-to-s3-with-aws-multipart-upload/34370/5 "2011-01-05T13:38:03Z")

</div>

Yes, using the configuration in that article, a new recording is moved automatically. That happens when the write process completes, not when recording stops.

If you want more control, you can use the IMediaWriteActionNotifiy interface onWriteComplete handler:

> **[Move recordings of live streams](https://www.wowza.com/docs/how-to-move-recordings-from-live-streams)**
>
> Use the MediaWriterFileMover Wowza Streaming Engine Java module to copy or move files after they've been recorded to disk.

You need the [Wowza IDE](http://wowza.com/ide.html) to build application modules

The source code for the automated ModuleMediaWriterFileMover is here:

> [@Custom Move Module](http://community.wowza.com/t/-/35667):
>
> I have a custom module and I need to move a file once its recorded to an S3 mounted drive. I’m on an EC2 AMI installation of 2.1.2. When I try to move the file, I test to make sure it exists and then attempt to move the file using “renameTo” Debugging says the file DOES exist but that it “failed to move”. This happens consistently I have attempted to use the built-in filemove module but the versioning screws up the file name because it ends in numbers that are programmatically created and I can…

Richard

---

_[View the full topic](https://community.wowza.com/t/record-stream-directly-to-s3-with-aws-multipart-upload/34370)._
