reports/2026-01/data.json is the file
/mnt/archil/reports/2026-01/data.json when the disk is mounted at /mnt/archil.
Read and write files
ArchilS3Error with status 404 and code NoSuchKey.
Large files
One call handles any size. Files larger than the multipart threshold (16 MiB by default) are uploaded in parts, in parallel, and assembled on the disk. Tune the upload with these options:disk.multipart:
create, uploadPart, complete, abort, listParts, and listUploads (snake_case in Python).
Append to a file
appendObject adds bytes to the end of a file, creating it if it doesn’t exist. Each call appends up to 1 MiB.
Ownership and directories
Files written through the object API are owned byroot:root with mode 0644 unless you set uid, gid, and
mode. Set them when a non-root process will use the files:
uid and gid and mode 0755. Existing directories keep their
owner and mode. To set the owner of the disk’s root directory, pass rootAttrs (root_attrs in Python) when you
create the disk.
List files
listObjects returns every key under a prefix. By default it lists one level, like a directory listing: files in
objects and subdirectories in commonPrefixes. Pass recursive to list the whole subtree.
Delete many files
deleteObjects deletes a list of keys in batches of 1,000 and reports failures per key instead of throwing.
Share a file
share creates a signed link that lets anyone download one file, with no API key. It returns the url and its
lifetime in seconds, expiresIn. Links last 24 hours by default and up to 7 days.
Range requests. After it expires, requests to it
return 401.
Retries
The SDKs retry rate limits, server errors, and network failures with backoff.appendObject and completing a
multipart upload run once, so a lost response never appends twice.