For datasets containing only one downloadable file, the Access Dataset menu currently displays Original Format ZIP. However, downloading a single-file dataset should not require creating a ZIP archive. Instead, the frontend should download the file directly using the single-file download API and update the menu text to Download File. Also, for the use case we used, should change to a single-file download.
Expected behavior
When the dataset contains exactly one downloadable file:
- The menu option should display “Download File.”
- Clicking it should use the single-file download API.
- The file should be downloaded directly rather than packaged in a ZIP archive.
For datasets containing only one downloadable file, the
Access Datasetmenu currently displaysOriginal Format ZIP. However, downloading a single-file dataset should not require creating a ZIP archive. Instead, the frontend should download the file directly using the single-file download API and update the menu text toDownload File. Also, for the use case we used, should change to a single-file download.Expected behavior
When the dataset contains exactly one downloadable file: