TGZ sample file
tgz_sample_file_500KB.tgz
500.3 KB
application/x-tar
SHA256 verified
File details
Filename
tgz_sample_file_500KB.tgzSize500.3 KB (512320 bytes)
MIME type
application/x-tarExtension
.tgzSHA256
48a1ceb01976b177d1bd1a7ff6128b9ea1ec14c657a1f8a12d90b82d99328ca2Download commands
Use in scripts and tests
curl -L -o tgz_sample_file_500KB.tgz \
https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/
wget -O tgz_sample_file_500KB.tgz \
https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/
import requests
url = "https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/"
resp = requests.get(url)
with open("tgz_sample_file_500KB.tgz", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("tgz_sample_file_500KB.tgz", buf);
# Download and verify SHA256
curl -L -o tgz_sample_file_500KB.tgz https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/
echo "48a1ceb01976b177d1bd1a7ff6128b9ea1ec14c657a1f8a12d90b82d99328ca2 tgz_sample_file_500KB.tgz" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/archive/tgz/tgz_sample_file_500KB.tgz/").content
assert hashlib.sha256(data).hexdigest() == "48a1ceb01976b177d1bd1a7ff6128b9ea1ec14c657a1f8a12d90b82d99328ca2"
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_50KB.tgz |
50.2 KB | 31b8f2ad77e4ee3a… |
Download |
Learn more