Closed Bug 2020167 Opened 8 months ago Closed 8 months ago

File download to a disk with ample free space will fail if default download directory is on a disk that's full

Categories

(Toolkit :: Downloads API, defect)

Firefox 148
defect

Tracking

()

RESOLVED DUPLICATE of bug 1925371

People

(Reporter: tamius.han, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0

Steps to reproduce:

Computer state:

My downloads folder is at D:/downloads.
Disk D: is completely full.
Disk A: has terabytes of free space.

Steps to reproduce

  1. Attempt to download a large file (larger than free space on the disk with the default downloads folder, in my case D:)
  2. When download dialog appears, save file to a disk with enough free space for the file (in my case: A:)

Actual results:

Download fails with error There isn't enough free space to save file D:\downloads[random string of letters].part.zip`

Expected results:

The file gets downloaded without error, because I'm downloading file to A:\some_directory\, not D:\downloads\

Component: Untriaged → Downloads API
Product: Firefox → Toolkit

File downloads must start somewhere, and by default they start in the download folder.
There is a settings to make them start in the temp folder (browser.download.start_downloads_in_tmp_dir) but the outcome doesn't change, if the disk with /tmp is full it will still fail.
The only alternative would be to await for a destination to be picked, that would potentially slow down the download process and it's currently not supported.
This is likely dupe of Bug 1925371 as we cannot really decide for the user.

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1925371
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.