-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deposit: allow users to provide file structure for upload #1089
Comments
I recently found myself in a situation where I needed to share complex file / directory structures, and ended up encoding all information (that was supposed to at least partially go into directory names) as file names. Does not look nice and is pretty inconvenient. Support for directory structures would be most helpful in such cases. |
I, too, would appreciate directories. I want to provide a separate data file for each year of my data, because each weighs 180 MB and users should only have to download the ones they want. Being able to put them in a directory would help declutter the project files. |
+1 |
The data in my community (neuroimaging) is also organised with a standardised directory structure, which we need to flatten to upload to Zenodo, and unflatten upon download. It'd be really nice to be able to deal with directory structures directly! (also, a single download button for the complete dataset?) |
+1 |
2 similar comments
+1 |
+1 |
I'm also going to ping this issue. I have approximately 5000 files representing just under 50GB to upload even after I had aggregated my data. It would be wonderful to be able to mirror the file structure from our internal storage on Zenodo to not overwhelm the UI with a massive list. |
Bumping that this would be extremely useful for me in computational biology / genomics research as well. |
The Brain Imaging Data Structure (BIDS) also demands nested directory structures. Currently, Zenodo is unsuitable for storing such datasets. |
Thanks for the suggestions. First of all, please note that currently, there's a workaround in that you can store a ZIP file, and the file structure will be shown on Zenodo. It's not straight forward in our case to support file structure. Some of the issues include:
Obviously, you can address all of the above issues in some way or another, but the simple solution of packaging up the data prior to upload works already today, and would essentially be what we would need to mimick if we were to support large data structures. Most of new feature development for Zenodo is now happening on the InvenioRDM project, and there's discussions among the partners there if to support file structure or not. So far the first version of InvenioRDM won't support it. Thanks a lot for providing the use cases and specific examples. |
Thank you for the clarification! From what you describe, it could be possible that people upload a single zip, but that the API can provide a URL for a specific file within that zip (it's probably already done, because the GUI does show individual files within zips) |
@lnielsen is there support for other compressed formats? Which other compression tool would you suggest for producing a big zip file up to 50 GB? (I am on Windows XP)
Could you please provide links to the relevant discussions? Thanks |
Uploaded files currently get passed through the
secure_filename
function, stripping any path-like information. Allowing users to upload entire folders and/or define a structure in the files upload box ("New folder" button, drag-n-drop UI elements of folders/files) might provide this feature and still stay "secure" if folder creation/deletion is regulated through REST API. End result should be something similar to Google Drive's file management interface.The text was updated successfully, but these errors were encountered: