TS sample file
ts_sample_file_1MB.ts
1.0 MB
text/vnd.trolltech.linguist
SHA256 verified
File details
Filename
ts_sample_file_1MB.tsSize1.0 MB (1048576 bytes)
MIME type
text/vnd.trolltech.linguistExtension
.tsSHA256
7a9aa64e39cd93a39d66c56376ba64616544cf77e2ad314387d45f4856541e4bDownload commands
Use in scripts and tests
curl -L -o ts_sample_file_1MB.ts \
https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/
wget -O ts_sample_file_1MB.ts \
https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/
import requests
url = "https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/"
resp = requests.get(url)
with open("ts_sample_file_1MB.ts", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("ts_sample_file_1MB.ts", buf);
# Download and verify SHA256
curl -L -o ts_sample_file_1MB.ts https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/
echo "7a9aa64e39cd93a39d66c56376ba64616544cf77e2ad314387d45f4856541e4b ts_sample_file_1MB.ts" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/ts/ts_sample_file_1MB.ts/").content
assert hashlib.sha256(data).hexdigest() == "7a9aa64e39cd93a39d66c56376ba64616544cf77e2ad314387d45f4856541e4b"
More TS files
Other TS Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
ts_sample_file_200KB.ts |
200.0 KB | 39e480db21394910… |
Download |
ts_sample_file_2MB.ts |
2.0 MB | d255fbe20cfd3998… |
Download |
ts_sample_file_500KB.ts |
500.0 KB | d98d8610c120928d… |
Download |
ts_sample_file_50KB.ts |
50.0 KB | 572f65eaf7604fab… |
Download |
ts_sample_file_5MB.ts |
5.0 MB | 65fab75a9e24d99a… |
Download |
Learn more