In terms of type
hostpath dataset, we can use
Upload Server feature that allows users to upload files to a dataset volume.
Editing a created type
hostpath dataset, we should see
Enable Upload Server toggle and
Regenerate Secret button.
Enable Upload Server on, and click
Confirm. There is a pop-up showing the credential (
Password) for the uploader access.
Since the credential shows once only, you must keep it in a memo before clicking
Note: if credential is lost
you can go back to dataset editing page and click
Regenerate Secret button again to have a new pair of credential.
You can see a
Link created in
Upload Server field of the dataset.
Clicking the link, and input the credential you keep in the memo.
After login the upload server, it displays a file list and click
A upload dialogue appears.
Dragging files for uploading, files are not uploaded yet at this moment.
Uploader supports auto-unzip to a zip file. Dragging a zip file in, the file will be unzip automatically and the directory structure is remained.
Upload n files to trigger the upload. It shows Complete at bottom of the uploader once finished.
Close the uploader and back to the file list, uploaded files are listed.
You can find these uploaded files in the dataset volume which is mounted on the hub in your jupyter notebook. Currently these files can be removed only via notebook.