Home > @hapoosjs/aws-buckets > AWSBuckets > getFileAsStream
Download file contents
Signature:
getFileAsStream(bucketName: string, filePath: string): Promise<Readable>;
| Parameter | Type | Description |
|---|---|---|
| bucketName | string | Bucket name |
| filePath | string | File key or fully qualified name |
Returns:
Promise<Readable>