Kotlin: Replace an existing file

Examples

Update file

val bucket = supabase.storage["avatars"]
bucket.update("myIcon.png", byteArray, upsert = false)
//on JVM you can use java.io.File
bucket.update("myIcon.png", file, upsert = false)