Home

Download a file

  • Policy permissions required:
    • buckets permissions: none
    • objects permissions: select

const { data, error } = await supabase
  .storage
  .from('avatars')
  .download('folder/avatar1.png')