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

In case of cancelled downloads, the tmp file is not removed #5

Closed
kelson42 opened this issue Mar 28, 2016 · 2 comments
Closed

In case of cancelled downloads, the tmp file is not removed #5

kelson42 opened this issue Mar 28, 2016 · 2 comments
Assignees

Comments

@kelson42
Copy link
Contributor

the Kiwix app is using 22GB of space on my iphone however I only have two libraries downloaded (Wikinews at 1.35GB and Wikivoyage at 588.4 MB)

I did try downloading hte Wikipedia library 55.6 GB but it failed (a few times) I suspect that the download failed but kept the partial files on the app.

Firstly report here:
https://sourceforge.net/p/kiwix/discussion/604122/thread/82a1fa50/?limit=25#2749

@kelson42
Copy link
Contributor Author

@automactic What is the status on this. Do you confirm?

@automactic
Copy link
Member

Note: When downloading a big file, the temp file is not stored in the app's sandbox., but somewhere in the system. When pausing a task, the system daemon that handles the download produce a blob of data (around 4000-5000 bytes) that can be stored and later used as info to resume the download task.

In other words, I have no control over the temp file. If I remember correctly, the temp file will be purged when the system need more disk space or when the download task is inactive for 7 days.

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