Upload large file larger than 5gb to r2 using s3 api

Hi Team,

at here
https://developers.cloudflare.com/r2/reference/limits/#:~:text=%E2%80%8B%E2%80%8B%20Account%20plan%20limits&text=The%20object%20size%20limit%20is,5%20TiB%2C%20so%204.995%20TiB.&text=The%20max%20upload%20size%20is,5%20GiB%2C%20so%204.995%20GiB.&text=Max%20upload%20size%20applies%20to,part%20of%20a%20multipart%20upload.

it saying we have examples showing how to upload large files to r2 using s3 api, but it seemed all example by the link doesnot include sample code for this …
anyone could help?

thx!