TS sample file
ts_sample_file_2MB.ts
2.0 MB
text/vnd.trolltech.linguist
SHA256 verified
File details
Filename
ts_sample_file_2MB.tsSize2.0 MB (2097209 bytes)
MIME type
text/vnd.trolltech.linguistExtension
.tsSHA256
d255fbe20cfd3998ab3661a8757793f30852c77a27c105c427a3acd538959403Download commands
Use in scripts and tests
curl -L -o ts_sample_file_2MB.ts \
https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/
wget -O ts_sample_file_2MB.ts \
https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/
import requests
url = "https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/"
resp = requests.get(url)
with open("ts_sample_file_2MB.ts", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("ts_sample_file_2MB.ts", buf);
# Download and verify SHA256
curl -L -o ts_sample_file_2MB.ts https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/
echo "d255fbe20cfd3998ab3661a8757793f30852c77a27c105c427a3acd538959403 ts_sample_file_2MB.ts" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/ts/ts_sample_file_2MB.ts/").content
assert hashlib.sha256(data).hexdigest() == "d255fbe20cfd3998ab3661a8757793f30852c77a27c105c427a3acd538959403"
More TS files
Other TS Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
ts_sample_file_1MB.ts |
1.0 MB | 7a9aa64e39cd93a3… |
Download |
ts_sample_file_200KB.ts |
200.0 KB | 39e480db21394910… |
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