Skip to main content

from.download()

Downloads a file.

final res = await supabase
.storage
.from('avatars')
.download('avatar1.png');

Notes#

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

Examples#

Download file#

final res = await supabase
.storage
.from('avatars')
.download('avatar1.png');