C#: Replace an existing file

Replaces an existing file at the specified path with a new one.

Examples

Update file

var imagePath = Path.Combine("Assets", "fancy-avatar.png");
await supabase.Storage.From("avatars").Update(imagePath, "fancy-avatar.png");