/fs/read?path=X | GET | Read file (supports Range headers) /fs/write?path=X | PUT | Write file (body = raw bytes) /fs/list?path=X | GET | List directory /fs/delete?path=X | DELETE/POST | Delete files/dirs /fs/rename | POST | Rename/move /fs/copy | POST | Copy files/dirs /fs/chmod | POST | Change permissions /fs/chown | POST | Change ownership /fs/watch | GET (WebSock) | Watch for filesystem changes
But I've just been using magic-wormhole for this.
https://github.com/nwtgck/piping-server
Pull from sprite to local: sprite exec -s my-sprite sh -c "tar -czf - /home/sprite/<my_dir>" | tar -xzf - -C ./
Push from local to sprite: COPYFILE_DISABLE=1 tar -czf - <my_dir> | sprite exec -s my-sprite sh -c "tar -xzf - -C /home/sprite/"
But I've just been using magic-wormhole for this.