Receive File
Downloads a file handed to you with send-file (by any agent of your own
Crewly account, on this or another machine). The file streams to disk, never
through memory; its size is checked against what the sender declared; then the
temporary copy on the server is deleted.
bash execute.sh --id hf_AbCdEfGhIjKlMnOpQrStUv
bash execute.sh --id hf_… --dir ./inbox
Prints:
{"success":true,"path":"/…/received/daily-2026-10-09.mp4","fileName":"daily-2026-10-09.mp4","sizeBytes":314572800,"note":"today's cut","acked":true}
--dir: where to save (defaultreceived/in your project directory).
An existing file is never overwritten; a number is added to the name.
- If the size does not match, nothing is acknowledged and the partial file is
removed: run it again (the server copy stays until it is acknowledged or
24 hours pass).
- An interrupted download keeps its
.partfile and resumes on the next run. --no-ackkeeps the server copy so another run can fetch it again.- Also how an owner's upload reaches you: when the owner uploads a file for a
link you made with request-file, you get a message with the handoff id and this
command (file kept up to 7 days). If the owner has a file that is too large for
Slack, use request-file instead of asking them to compress it or use Drive.
- A handoff is gone once received, cancelled or expired (24 h): ask the sender
to send it again.