JavaScript: Download a file | Supabase Docs (original) (raw)

Downloads a file from a private bucket. For public buckets, make a request to the URL returned from getPublicUrl instead.

Parameters

(Required)
The full path and file name of the file to be downloaded. For example `folder/image.png`.

(Optional)