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

[sda] User uploaded file sizes in files api #482

Open
pontus opened this issue Dec 1, 2023 · 1 comment
Open

[sda] User uploaded file sizes in files api #482

pontus opened this issue Dec 1, 2023 · 1 comment

Comments

@pontus
Copy link
Contributor

pontus commented Dec 1, 2023

I think (#360 (comment)) it might be very beneficial for users to see uploaded file sizes in the files API.

However, the s3 proxy doesn't store that, and it seems maybe it's non-trivial to add that functionality (by a quick look, it appears s3proxy would need to track a bit what passes through).

I do see it as a fairly valuable feature for end-users, though - to give the comfort of seeing the size on our side matches their local size.

@jbygdell
Copy link
Collaborator

jbygdell commented Dec 1, 2023

Once the file is uploaded the s3inbox can query the S3 backend for the file metadata, that would give us the size as well as the MD5 checksum (SHA256 is not available)

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

No branches or pull requests

2 participants