owncloud / owncloud/ocis

download of a large folder only starts after the archive has been created

Open
#10,242 6 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 2h
Merged PRs (30d)
106

Description

When downloading a folder using the archive download the web ui shows an activity visualization bar at the top after making the request to the server. Unfortunately, the download does not immediately start streaming but seems to hang until the archive has been fully assembled on the server side. This may cause a proxy in between to kill the connection. Furthermore, a user might be confused because nothing is happening (apart from the activity visualization bar at the top).

We should either start streaming immediately or show a notification that explains that the server is preparing the download ... but that should actually be async ... and a completely different API for downloads then what we currently have ... so ... we should just stream.

Contributor guide

Open the contributing guide

Research direction

Trace the archive download request from the web UI to the server-side archive assembly and inspect where the response begins. Start by reproducing a large-folder download and observing when bytes are sent. Done means the download starts streaming before the archive is fully assembled, avoiding an idle connection while preserving the existing download behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.