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