File details
Filename
txt_utf16le_sample.txtSize176 B (176 bytes)
MIME type
text/plainExtension
.txtSHA256
9033cba7c418a164cbe11fd6401b4151920c047203dec3d3b3334d77ebc80166Download commands
Use in scripts and tests
curl -L -o txt_utf16le_sample.txt \
https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/
wget -O txt_utf16le_sample.txt \
https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/
import requests
url = "https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/"
resp = requests.get(url)
with open("txt_utf16le_sample.txt", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("txt_utf16le_sample.txt", buf);
# Download and verify SHA256
curl -L -o txt_utf16le_sample.txt https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/
echo "9033cba7c418a164cbe11fd6401b4151920c047203dec3d3b3334d77ebc80166 txt_utf16le_sample.txt" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/document/txt/txt_utf16le_sample.txt/").content
assert hashlib.sha256(data).hexdigest() == "9033cba7c418a164cbe11fd6401b4151920c047203dec3d3b3334d77ebc80166"
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