BSON sample file
bson_binary_attachment_sample.bson
104 B
application/octet-stream
SHA256 verified
File details
Filename
bson_binary_attachment_sample.bsonSize104 B (104 bytes)
MIME type
application/octet-streamExtension
.bsonSHA256
3a42993f7800aaf78cf9532ac991261ec2833b1cd99e6bb82fef2bd13ee96f1fDownload commands
Use in scripts and tests
curl -L -o bson_binary_attachment_sample.bson \
https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/
wget -O bson_binary_attachment_sample.bson \
https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/
import requests
url = "https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/"
resp = requests.get(url)
with open("bson_binary_attachment_sample.bson", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("bson_binary_attachment_sample.bson", buf);
# Download and verify SHA256
curl -L -o bson_binary_attachment_sample.bson https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/
echo "3a42993f7800aaf78cf9532ac991261ec2833b1cd99e6bb82fef2bd13ee96f1f bson_binary_attachment_sample.bson" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/data/bson/bson_binary_attachment_sample.bson/").content
assert hashlib.sha256(data).hexdigest() == "3a42993f7800aaf78cf9532ac991261ec2833b1cd99e6bb82fef2bd13ee96f1f"
More BSON files
Other BSON Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
bson_nested_profile_sample.bson |
150 B | c045692dc66539ad… |
Download |
bson_order_payload_sample.bson |
156 B | f9f4c9072d585299… |
Download |