media original
Download supported document originals and verify their size and MD5.
alicli media original "mr-0000000000000000" --out quote.pdf --json
alicli media original "mr-0000000000000000" --out quote.pdf --deadline-seconds 45 --jsonRequirements
The message must exist in the local store with file metadata: a supported suffix, URL, MD5 and size. Supported suffixes are pdf, docx, xlsx and xls. Size must be from 1 byte through 100 MiB. --out is required; the default deadline is 30 seconds.
Verification and output
The client follows the permitted document-preview/download chain without driving the phone. It verifies the returned byte length and MD5 against the feed metadata. A mismatch fails; it does not silently substitute a raster render. MD5 verifies agreement with the supplied reference, not that the document is trustworthy.
Bytes are written to a temporary file beside the requested output and renamed only after validation. The destination may replace an existing file. JSON includes isOriginal:true, md5, name, bytes, contentType and path. The file is an export, not a new media-cache entry.