Closed Bug 1750277 Opened 3 years ago Closed 2 years ago

Add preference to disable pre-downloading

Categories

(Firefox :: File Handling, enhancement)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: astralstorm, Unassigned)

Details

Please add a user preference to disable pre-downloading, as in download from save as/download dialog while target directory is not yet picked.

This is potentially relatively important for Tor browser or anyone who wants to use an encrypted drive as a target, while keeping temporary directory unencrypted.

Current pre-downloading also causes problems if temporary directory is on a small filesystem and multiple big downloads are started at the same time.

Additionally, when pre-downloading is disabled, write the file to target directory directly.

By default we now save to the default downloads directory rather than tmp, so if the default directory is encrypted then this isn't a problem anymore.

We can't really do what this enhancement suggests by "disabling pre-downloading" - the bytes we're getting have to go somewhere. Re-executing the same request may have bad side effects and/or produce a different file, so we can't "keep the request on hold" indefinitely while waiting for the user to pick a location, and we don't generally/always know something is a download before we start the http request and start receiving the response. So if I could I'd mark this "can't fix", but given that doesn't exist I guess I'll go for "won't fix".

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.