# Is it possible to determine whether an S3 transfer is in progress?

**URL:** https://community.wowza.com/t/is-it-possible-to-determine-whether-an-s3-transfer-is-in-progress/48303
**Category:** Wowza Streaming Engine
**Created:** [March 15, 2017, 2:23am UTC](https://community.wowza.com/t/is-it-possible-to-determine-whether-an-s3-transfer-is-in-progress/48303 "2017-03-15T02:23:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kyle\_Isaac](https://avatars.discourse-cdn.com/v4/letter/k/4af34b/32.png) [@Kyle\_Isaac](https://community.wowza.com/u/Kyle_Isaac)
#### Post date: [March 15, 2017, 2:23am UTC](https://community.wowza.com/t/is-it-possible-to-determine-whether-an-s3-transfer-is-in-progress/48303/1 "2017-03-15T02:23:30Z")

</div>

I am working on a script to spin down an EC2 instance after a stream has finished. Where I’m getting hung up is determining whether it is safe to shut down or if there is an S3 transfer running. I am using the WowzaStreamingEngine 4 BYOL 4.1.2 AMI and the vods3 application. How can I determine programmatically whether the vods3 application is still transferring a file to S3?

---

<div class="post-metadata">

### Author: ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)
#### Post date: [March 15, 2017, 1:12pm UTC](https://community.wowza.com/t/is-it-possible-to-determine-whether-an-s3-transfer-is-in-progress/48303/2 "2017-03-15T13:12:10Z")

</div>

Hi @Kyle Isaac. What are you using to upload the file to S3? I assume you mean a recording that has been saved locally, and now is transferred to S3 after the stream has finished? Have a look at this module: [https://github.com/WowzaMediaSystems/wse-plugin-s3upload](https://github.com/WowzaMediaSystems/wse-plugin-s3upload), it has a ProgressListener that informs when the transfer is complete via the progressChanged method.
