bsk upload @e3 --file ./report.pdf --session <id>
bsk download @e3 --out ./report.pdf --session <id>Upload discloses the file to the site; download accepts site-controlled bytes. Use agent-local paths, not browser-internal staging paths.
- Default upload (
--mode input) accepts either the observed@eNref of the visible upload button/label (preferred — clicks the trigger and intercepts hiddeninput[type=file]choosers such as Layui/Upload widgets, including inside iframes) or a--selector/ ref targetinginput[type=file]directly (assigns files without clicking, even whendisplay: none). - If
reason=file_input_not_activatedandeffect_state=none, re-observe. Try--mode droponce only on a clear attachment target such as a drop zone or composer, never whitespace or an ambiguous container. Otherwise follow human-help rules. There is no automatic fallback between mechanisms. - Never retry or switch upload modes for
effect_state=unknownorcommitted. A successful drop proves dispatch, not site acceptance; observe the attachment. - Download refuses overwrite by default; add
--overwriteonly when replacement is intended. Consult each command's help for other flags. - For download directory conflicts with other extensions, see human steps and recovery.
Remote upload/download are unsupported. In MCP, call bsk_interact with action: "upload" or "download" (out, overwrite).