Get a File

The Assets provider allows you to download a file you have previously uploaded in its binary/raw form.

Method signature

getRemoteFile(remoteFilePath: string)

Getting a File

const session = vcr.createSession();
const assets = new Assets(session);

const file = await assets.getRemoteFile('/imgs/image.png');