XML sample file
xml_sample_file_50KB.xml
50.0 KB
application/xml
SHA256 verified
File details
Filename
xml_sample_file_50KB.xmlSize50.0 KB (51210 bytes)
MIME type
application/xmlExtension
.xmlSHA256
9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3Download commands
Use in scripts and tests
curl -L -o xml_sample_file_50KB.xml \
https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/
wget -O xml_sample_file_50KB.xml \
https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/
import requests
url = "https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/"
resp = requests.get(url)
with open("xml_sample_file_50KB.xml", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("xml_sample_file_50KB.xml", buf);
# Download and verify SHA256
curl -L -o xml_sample_file_50KB.xml https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/
echo "9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3 xml_sample_file_50KB.xml" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/xml/xml_sample_file_50KB.xml/").content
assert hashlib.sha256(data).hexdigest() == "9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3"
More XML files
Other XML Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
xml_sample_file_1MB.xml |
1.0 MB | 4ae8e9510c22a8a6… |
Download |
xml_sample_file_200KB.xml |
200.0 KB | e435917c94c8012b… |
Download |
xml_sample_file_500KB.xml |
500.0 KB | da4d5706a1d364fd… |
Download |
Learn more