Files & executions
Workspace files
Browse, read, upload, download and move files in a workspace's virtual file system.
Every workspace has a virtual file system (VFS). The verentis files command group works with it
much like a remote shell. All file commands accept --workspace and --branch (default main).
Browse & read
verentis files ls /scripts
verentis files stat /data/input.json
verentis files cat /data/input.json
Upload
verentis files upload ./local-dir /scripts # recursive directory upload
verentis files upload build.zip /apps --extract # server-side archive extraction
verentis files upload note.md /docs --content-type text/markdown
--extractFor archive uploads, extract server-side into the target directory (sends X-Auto-Extract).
--content-type <type>Content type for a single-file upload.
Download
verentis files download /data/report.json # to the current directory
verentis files download /data/report.json ./out.json # to a specific path
verentis files download /scripts --format Zip # a directory as an archive
--format accepts Zip or TarGz when downloading a directory.
Move & delete
verentis files mv /a.txt /archive/a.txt
verentis files rm /tmp/old.json
verentis files rm /tmp-dir --recursive
Branches
Files live on a branch. Every command defaults to main; pass --branch <name> to target another.
Next
Run code against these files with Executions.