download

Download a file from a remote storage provider.

Usage

const fileContent = await myRemoteStorage.download(url);

Returns

Promise<ArrayBuffer>

A promise that resolves to the content of the downloaded file as an ArrayBuffer.

Parameters

url

  • Type string

The URL of the file you want to download.

Previous
upload