Skip to content

File Management

As previously mentioned, you can add new files to your dataset, replace outdated ones, or remove files that are no longer needed.

Currently you can upload files using the HTTP upload. HTTP upload is a common browser-based file upload tool, where you can upload files via HTTP by selecting them from your computer or dragging and prodigy them into the upload widget.

Once you have uploaded files, you will be able to edit file metadata, restrict access to files, and/or add tags. Click Save Changes to complete the upload. If you uploaded a file by mistake, you can delete it before saving by clicking the checkbox to select the file, and then clicking the Delete button above the Files Table.

⚠️ There is a limit of a maximum of 2.5 Gb in size, or of 1000 files per upload.

For larger files, we recommend splitting and compressing them before uploading. To compress and split a file into 2GB parts, for Mac/Linux users, use the following command:
tar -czf - largefile | split -b 2000M - largefile_part_

All file types are supported for upload and download in their original format. However, certain file types in the Dataverse installation are supported by additional functionality, which can include downloading in different formats, previews, file-level metadata preservation, file-level data citation; and exploration through data visualization and analysis.

Tag your files

Once you have uploaded a file, you can modify and improve its metadata. For that, you must select the file, and click on Edit files > Tags (Figure 1-4).

Figure 1: File edit options.

It will then show the following box where you can edit the file tags:

Figure 2: File Tags box.

Under File Tags, you can choose a tag that already exists (Documentation, Data or Code). If none of the tags apply to your file, you can create a custom tag by typing the new tag (Add new file tag > Apply).

Finally, if you are uploading tabular files, an extra field for tags will appear, Tabular Data Tags, where you can select a tag to describe the type of data.

Once you have selected the tags you want to use, click Save Changes. You can always modify the tags by clicking the Tags option in Figure 1-4, or the Tags option below:

Figure 3: File Tags edition alternative option.

Restrict your files

BSC advocates for open science and the distribution of files under open access. However, there are occasions when, due to the nature of the data uploaded, access cannot be provided openly. In such cases, you can restrict certain files in a dataset (or all files). This option will require users to request permission from the dataset admin (or users with appropriate permissions) to download the file via their user account. The author can then decide whether to grant access to the file. To restrict files:

1) Select the file you want to restrict access and click on Restrict (Figure 1-2).

2) Make sure that the Request Access checkbox is enabled.

3) Add terms of access for restricted files (optional).

4) Click Save Changes.

⚠️ If your dataset was already published, you must publish your dataset (or submit it for review) to apply the new modifications.

You can always remove the access restriction by clicking Unrestrict (Figure 1-3).