Table of Contents

Read file from share as byte array

Reads the contents of a file in an Azure Files share as a byte array.

img

Example img

The example above takes a file from storage, reads its JSON content, saves the data to a database, and then deletes the storage folder to keep things tidy. Used actions: 1. Read file from share as byte array 2. Get JSON DataReader 3. Insert rows 4. Delete directory.


Returns

Byte array

Properties

Name Type Description
Connection Required The Azure Files connection to a Share.
File name Required The name and full path to the file to download.