Boot & run

Files in and out

Copy files and whole folders into and out of a running VM, permissions kept.

What it is

Copy files and whole folders into and out of a running VM.

flash cp moves a file or a full directory tree between the host and a FlashVM, permissions kept. flash del removes files inside the VM. No network needed.

Why it matters

Agents hand code in and take results out. FlashVMM makes that one command each way.

  • Whole trees. Folders copy with their permissions intact.
  • Both directions. Host to VM and VM to host with the same command.
  • No network. Works on a VM with no network card at all.

Runs on

  • Linux x86_64
  • Linux arm64
  • macOS
  • Windows x64
  • Windows arm64

How it works

Name the VM side as VM:/path; the other side is a local path.

CLI

flash cp note.txt vm1:/tmp/note.txt
flash cp vm1:/work/out ./out
flash del vm1:/tmp/note.txt
flash del --recursive vm1:/work/tmp

MCP

flash_cp(src: "./note.txt", dst: "vm1:/tmp/note.txt")

API

PUT /v1/flashvm/guest/files
GET /v1/flashvm/guest/files
DELETE /v1/flashvm/guest/files

The result

The file goes in, is read, and is deleted, all from outside the VM.

Clean, permission-true file movement for every sandbox.

How it works

Related

See it live: flash demo run 4