XML sample file
xml_sample_file_500KB.xml
500.0 KB
application/xml
SHA256 verified
File details
Filename
xml_sample_file_500KB.xmlSize500.0 KB (512000 bytes)
MIME type
application/xmlExtension
.xmlSHA256
f7253cb90a946d7c14a420313c3ffb4fe3eab8cae9514aa776ab2c08eb5d8491Download commands
Use in scripts and tests
curl -L -o xml_sample_file_500KB.xml \
https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/
wget -O xml_sample_file_500KB.xml \
https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/
import requests
url = "https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/"
resp = requests.get(url)
with open("xml_sample_file_500KB.xml", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("xml_sample_file_500KB.xml", buf);
# Download and verify SHA256
curl -L -o xml_sample_file_500KB.xml https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/
echo "f7253cb90a946d7c14a420313c3ffb4fe3eab8cae9514aa776ab2c08eb5d8491 xml_sample_file_500KB.xml" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/xml/xml_sample_file_500KB.xml/").content
assert hashlib.sha256(data).hexdigest() == "f7253cb90a946d7c14a420313c3ffb4fe3eab8cae9514aa776ab2c08eb5d8491"
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_50KB.xml |
50.0 KB | a9745f837c9b67d6… |
Download |
Learn more