TGZ sample file
tgz_sample_file_50KB.tgz
50.2 KB
application/x-tar
SHA256 verified
File details
Filename
tgz_sample_file_50KB.tgzSize50.2 KB (51451 bytes)
MIME type
application/x-tarExtension
.tgzSHA256
31b8f2ad77e4ee3a76fa2c4409a01733b000992b3e6462aeca574ca193dd1834Download commands
Use in scripts and tests
curl -L -o tgz_sample_file_50KB.tgz \
https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/
wget -O tgz_sample_file_50KB.tgz \
https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/
import requests
url = "https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/"
resp = requests.get(url)
with open("tgz_sample_file_50KB.tgz", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("tgz_sample_file_50KB.tgz", buf);
# Download and verify SHA256
curl -L -o tgz_sample_file_50KB.tgz https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/
echo "31b8f2ad77e4ee3a76fa2c4409a01733b000992b3e6462aeca574ca193dd1834 tgz_sample_file_50KB.tgz" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_50KB.tgz/").content
assert hashlib.sha256(data).hexdigest() == "31b8f2ad77e4ee3a76fa2c4409a01733b000992b3e6462aeca574ca193dd1834"
More TGZ files
Other TGZ Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
tgz_sample_file_1MB.tgz |
1.0 MB | c537e697282416f3… |
Download |
tgz_sample_file_200KB.tgz |
200.3 KB | 0e7be7ee9c27492c… |
Download |
tgz_sample_file_500KB.tgz |
500.3 KB | 48a1ceb01976b177… |
Download |
Learn more