Issue
I want to download multiple files and folders and get a feature rich Filebrowser or Filemanager.
Solutions
https://tickets.dominodatalab.com/hc/en-us/articles/8267874694804-Downloading-files-from-Dataset has a basic Flask-based browser!
Or use filebrowser.org's more feature-rich method. See the bottom of this page first!
Create an Environment or add this command to an existing environment:
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
Create an app.sh file, note you must replace DominoUser and DominoProject with your user name and Project:
#!/bin/bash
filebrowser -a 0.0.0.0 -p 8888 -b /<Domino User>/<DominoProject>/r/notebookSession/${DOMINO_RUN_ID}/ -r /mnt
Note, you keep the ${DOMINO_RUN_ID} which maps the reverse URL (i.e. ReverseProxied in Flask)
The -r parameter will be the base path, i.e. /mnt or / to see all files.
This is not an endorsed solution and the filebrowser.org's install is a binary which cannot be edited, or reviewed. The filebrowser.org github is: https://github.com/filebrowser/filebrowser for review and vetting, and you may want to compile the binary internally for audit reasons.
Comments
0 comments
Please sign in to leave a comment.