Open
Description
In some cases, applications and/or their supporting services (databases, caches, etc.) write files to the filesystem that users would like to download. There currently isn't an easy way to access and securely copy files in most components. @glinton had a great idea of a fetch
command, that would securely copy files from a remote container to your local machine. Here's my initial thoughts:
# Pattern
nanobox fetch [component.id] remote/path local/path
# Example
nanobox fetch data.mongodb /data/exports/12-12-17.csv ~/local/exports-dir
# Or even recursive copies
nanobox fetch worker.jobs --recursive /app/jobs/* ~/local/dir