getting data from qnap and copy to amazon s3

We want to periodically copy a folder held in Qnap to an Amazon S3 supported area with Truenas. How can we do this?

The application named qnap hybrid sync is not working properly.
That’s why we’re trying to find a solution by putting Truenas in between.
Best Regards.