Uploads a file to an existing bucket.
buckets
permissions: noneobjects
permissions: insert
var imagePath = Path.Combine("Assets", "fancy-avatar.png");
await supabase.Storage
.From("avatars")
.Upload(imagePath, "fancy-avatar.png", new FileOptions \{ CacheControl = "3600", Upsert = false \});
var imagePath = Path.Combine("Assets", "fancy-avatar.png");
await supabase.Storage
.From("avatars")
.Upload(imagePath, "fancy-avatar.png", onProgress: (sender, progress) => Debug.WriteLine($"\{progress\}%"));