You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, even though there are many files, only one file can be downloaded at a time. For convenience, it seems necessary to implement a feature that allows multiple files to be downloaded at once.
Required Features
When multiple files are selected, I plan to send a single ZIP file containing those files to the client (there’s an existing function that streams ZIP files, so I intend to reuse that).
To compress multiple files, we need a common parent directory for the files, so I intend to change the folder structure as follows:
Target
folder/file.png
Current
folder.zip extract> file.png
Updated
folder.zip extract> folder/file.png
Impact
Using the token received from storage, I intend to update the existing download_directory_as_archive function so that it can handle not only directories but also multiple files when creating a ZIP file.
Testing Scenarios
Test if a single file/folder is returned correctly files as individual files and folders as ZIP files.
Test if multiple files (files + folders) are returned in a ZIP file named after the common parent folder.
The text was updated successfully, but these errors were encountered:
Motivation
Required Features
ZIP
file containing those files to the client (there’s an existing function that streams ZIP files, so I intend to reuse that).folder/file.png
folder.zip
extract> file.pngfolder.zip
extract> folder/file.pngImpact
storage
, I intend to update the existingdownload_directory_as_archive
function so that it can handle not only directories but also multiple files when creating a ZIP file.Testing Scenarios
The text was updated successfully, but these errors were encountered: