KT sample file
kt_sample_file_1MB.kt
1.0 MB
application/octet-stream
SHA256 verified
File details
Filename
kt_sample_file_1MB.ktSize1.0 MB (1050544 bytes)
MIME type
application/octet-streamExtension
.ktSHA256
78302673fce83ad95b30a17229b6516f19e6d2449654f0c20127c2c7bcb2e816Download commands
Use in scripts and tests
curl -L -o kt_sample_file_1MB.kt \
https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/
wget -O kt_sample_file_1MB.kt \
https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/
import requests
url = "https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/"
resp = requests.get(url)
with open("kt_sample_file_1MB.kt", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("kt_sample_file_1MB.kt", buf);
# Download and verify SHA256
curl -L -o kt_sample_file_1MB.kt https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/
echo "78302673fce83ad95b30a17229b6516f19e6d2449654f0c20127c2c7bcb2e816 kt_sample_file_1MB.kt" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/kt/kt_sample_file_1MB.kt/").content
assert hashlib.sha256(data).hexdigest() == "78302673fce83ad95b30a17229b6516f19e6d2449654f0c20127c2c7bcb2e816"
More KT files
Other KT Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
kt_sample_file_200KB.kt |
200.0 KB | ee8e904989e8a5a3… |
Download |
kt_sample_file_500KB.kt |
500.1 KB | 74b3019fda190b51… |
Download |
kt_sample_file_50KB.kt |
50.0 KB | ddc146e858d07208… |
Download |
Learn more