Unless it's S3 compatible it's going to be a gargantuan task to make this successful as _everything_ uses the S3 API.
This is the user guide: https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcom...
But best of luck to OP!
wrangler r2 object put test-bucket/file --file=file
aws s3 sync [source] [dest]
Unless it's S3 compatible it's going to be a gargantuan task to make this successful as _everything_ uses the S3 API.