Typescript / Javascript
Download / Get file
Download / Get file from StorageSync
This step assumes you have followed the installation steps and initialized the client.
Presigned Urls
If you are looking for a way to allow external users to download objects from your bucket, you should check out Get object with presigned url
Get an Object using the StorageSyncClient
The example belows shows how we would get an object/file called list-of-cats.txt and save it to a file called list-of-cats.txt.
index.ts
Examples
Below is an example of how we would use streams to download a big file without having to load it all into memory.
index.ts
For more examples checkout out our Examples/Guides section