Copying files from Tago Files to AWS S3 Storage

Copying files from Tago Files to AWS S3 Storage

Hello,

One of our clients requires us to make backup copies of Tago files in their AWS S3 storage.   I know Tago is AWS based.

All of the nodejs examples I can find require the AWS-SDK library which I don't think is available in regular analysis code.

Two questions:
1. Has anyone written a uploading function using plain Axios without the need for the additional library?

2. I know I could run the script (using the AWS library) on an external server and call it from Tago Analysis however we'd like to keep the code running on Tago.  As a general point, is it possible to develop an external script using external libraries and then somehow get that back into a Tago analysis?   I seem to remember there was some sort of 'compile function' back in the early days, but don't know much about it.

Many thanks
Gary