XML sample file
xml_sample_file_5MB.xml
5.0 MB
application/xml
SHA256 verified
File details
Filename
xml_sample_file_5MB.xmlSize5.0 MB (5242931 bytes)
MIME type
application/xmlExtension
.xmlSHA256
4f6c52a3df77942eb5983d2c839013650ba11a01398183e97f73df9ace649b87Download commands
Use in scripts and tests
curl -L -o xml_sample_file_5MB.xml \
https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/
wget -O xml_sample_file_5MB.xml \
https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/
import requests
url = "https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/"
resp = requests.get(url)
with open("xml_sample_file_5MB.xml", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("xml_sample_file_5MB.xml", buf);
# Download and verify SHA256
curl -L -o xml_sample_file_5MB.xml https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/
echo "4f6c52a3df77942eb5983d2c839013650ba11a01398183e97f73df9ace649b87 xml_sample_file_5MB.xml" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/xml/xml_sample_file_5MB.xml/").content
assert hashlib.sha256(data).hexdigest() == "4f6c52a3df77942eb5983d2c839013650ba11a01398183e97f73df9ace649b87"
More XML files
Other XML Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
xml_malformed_payload_sample.xml |
168 B | e14306061df5ab54… |
Download |
xml_product_catalog_sample.xml |
295 B | 26793ca4f85ddb17… |
Download |
xml_sample_file_1MB.xml |
1.0 MB | fbd28e49e2d4749f… |
Download |
xml_sample_file_200KB.xml |
200.0 KB | f94606c415e55d9d… |
Download |
xml_sample_file_2MB.xml |
2.0 MB | ae8f82ad252cbe9c… |
Download |
xml_sample_file_500KB.xml |
500.0 KB | f7253cb90a946d7c… |
Download |
Learn more