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