AWS S3 Transfer Integration

Greetings,
I have a project in which Movie File Out TOP videos are uploaded automatically to Amazon S3 via a CHOP Execute DAT. The technique works, but there is one caveat: the Touch Process the DAT resides in hangs until each upload is completed.

I have circumvented this limitation in the past by placing the DAT (example attached to this post, touchdoggie.toe) in it’s own toe and triggering it via Touch In/Out CHOPs from the main toe, so that the main application does not stall.

I am wondering if there is a way to implement a DAT like this in the main toe that doesn’t stall the entire program while the upload commences. Any ideas/advice would be greatly appreciated.
Cheers,
Dylan
touchdoggie.toe (4.82 KB)

Usually I just use TNT Drive when I need to upload to a S3 Bucket.

[url]https://tntdrive.com/[/url]

You could definitely use the Python threading module if you want to keep it in TD. Matthew Regan has a nice example of this.

[url]https://github.com/raganmd/touchdesigner-multi-threading/tree/master/scripts[/url]

Ahh, these are amazing. Thanks heaps, Matthew!