TXT sample file
txt_sample_file_50KB.txt
50.0 KB
text/plain
SHA256 verified
File details
Filename
txt_sample_file_50KB.txtSize50.0 KB (51212 bytes)
MIME type
text/plainExtension
.txtSHA256
c1bbcaf0b50773a2a0cc7c88e68cc0b417744b33ec459c83f9aae20a68b78da7Download commands
Use in scripts and tests
curl -L -o txt_sample_file_50KB.txt \
https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/
wget -O txt_sample_file_50KB.txt \
https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/
import requests
url = "https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/"
resp = requests.get(url)
with open("txt_sample_file_50KB.txt", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("txt_sample_file_50KB.txt", buf);
# Download and verify SHA256
curl -L -o txt_sample_file_50KB.txt https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/
echo "c1bbcaf0b50773a2a0cc7c88e68cc0b417744b33ec459c83f9aae20a68b78da7 txt_sample_file_50KB.txt" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/txt/txt_sample_file_50KB.txt/").content
assert hashlib.sha256(data).hexdigest() == "c1bbcaf0b50773a2a0cc7c88e68cc0b417744b33ec459c83f9aae20a68b78da7"
More TXT files
Other TXT Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
txt_crlf_log_sample.txt |
134 B | 6b3897085441c0b1… |
Download |
txt_long_lines_sample.txt |
9.0 KB | fcd0acaba316c108… |
Download |
txt_minimal_readme_sample.txt |
100 B | 1988d57016b2c950… |
Download |
txt_mixed_whitespace_sample.txt |
116 B | bdb022932ca71666… |
Download |
txt_sample_file_1MB.txt |
1.0 MB | 4c3dbbfce56a0c0d… |
Download |
txt_sample_file_200KB.txt |
200.0 KB | ff801cfacfca5636… |
Download |
Learn more