TAR sample file
tar_sample_file_1MB.tar
1.0 MB
application/x-tar
SHA256 verified
File details
Filename
tar_sample_file_1MB.tarSize1.0 MB (1054720 bytes)
MIME type
application/x-tarExtension
.tarSHA256
3a3b81dc89c357288d1e11ec19014c9c5eb5df7280952ef99c020853e805290dDownload commands
Use in scripts and tests
curl -L -o tar_sample_file_1MB.tar \
https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/
wget -O tar_sample_file_1MB.tar \
https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/
import requests
url = "https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/"
resp = requests.get(url)
with open("tar_sample_file_1MB.tar", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("tar_sample_file_1MB.tar", buf);
# Download and verify SHA256
curl -L -o tar_sample_file_1MB.tar https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/
echo "3a3b81dc89c357288d1e11ec19014c9c5eb5df7280952ef99c020853e805290d tar_sample_file_1MB.tar" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/archive/tar/tar_sample_file_1MB.tar/").content
assert hashlib.sha256(data).hexdigest() == "3a3b81dc89c357288d1e11ec19014c9c5eb5df7280952ef99c020853e805290d"
More TAR files
Other TAR Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
tar_sample_file_200KB.tar |
210.0 KB | 3ac737eefc67cc8b… |
Download |
tar_sample_file_500KB.tar |
510.0 KB | 57545627be4d956f… |
Download |
tar_sample_file_50KB.tar |
60.0 KB | 91d23e189dda99e1… |
Download |
Learn more