# Wowza ModuleS3Upload Copying File To S3 When Stream is Interrupted Not when Recording Is Stopped

**URL:** <https://community.wowza.com/t/wowza-modules3upload-copying-file-to-s3-when-stream-is-interrupted-not-when-recording-is-stopped/53996>\
**Category:** Wowza Streaming Engine\
**Tags:** recording\
**Created:** [September 27, 2019, 5:01pm UTC](https://community.wowza.com/t/wowza-modules3upload-copying-file-to-s3-when-stream-is-interrupted-not-when-recording-is-stopped/53996 "2019-09-27T17:01:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_McClure](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@Tim\_McClure](https://community.wowza.com/u/Tim_McClure)\
**Post date:** [September 27, 2019, 5:01pm UTC](https://community.wowza.com/t/wowza-modules3upload-copying-file-to-s3-when-stream-is-interrupted-not-when-recording-is-stopped/53996/1 "2019-09-27T17:01:04Z")

</div>

I am running an FFMPEG script on a loop that send a MPEGTS UDP stream to a Wowza udp connection. The script stops and restarts so the stream is interrupted for a small amount of time. During this interruption the ModuleS3Upload copies a file to S3 event though the recording of the connection was not stopped. I do not want the file copied to S3 until I explicitly cll the REST API to stop recording.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [September 27, 2019, 6:10pm UTC](https://community.wowza.com/t/wowza-modules3upload-copying-file-to-s3-when-stream-is-interrupted-not-when-recording-is-stopped/53996/2 "2019-09-27T18:10:35Z")

</div>

It looks like you have already opened a ticket on this issue. We will be be able to best help you through there and will get to your question as soon as possible.
