Skip to content
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

Fix folder download #3264

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Fix folder download #3264

merged 2 commits into from
Mar 14, 2024

Conversation

cesnietor
Copy link
Collaborator

@cesnietor cesnietor commented Mar 14, 2024

fixes: #3263
context: #3249
We used to verify the fileSize to ensure the object was fully downloaded but we don't get the fileSize for folder downloads so we can't do that check.

Test Steps:

  • With bucket
  • Upload object
  • Upload Folder with content
  • Select object and download
  • Select only folder and download
  • Select both object and folder and download

bayasdev
bayasdev previously approved these changes Mar 14, 2024
Copy link
Contributor

@bayasdev bayasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We used to verify the fileSize to ensure the object was fully downloaded
but we don't get the fileSize for folder downloads so we can't do that check.
reivaj05
reivaj05 previously approved these changes Mar 14, 2024
@harshavardhana
Copy link
Member

why do these permission tests keep failing?

@cesnietor
Copy link
Collaborator Author

why do these permission tests keep failing?

They started failing with previous PRs we'll take a look

Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bexsoft bexsoft merged commit 6a38a09 into minio:master Mar 14, 2024
26 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot download directories: Error: Unexpected response, download incomplete.
5 participants