On a Linux machine, I have a small OS drive (4GB) and a secondary drive (5.5TB). The secondary drive is mounted as /mediafiles. While downloading a large file (>10GB) using a modified DownloadService and HttpUtils2 (https://www.b4x.com/android/forum/threads/b4j-http-download-with-progressbar.37636/#post-222225) I am running out of space. The temp stream is [probably] going to the OS drive.
Is it possible to control where the download uses temp space? Ideally there would be a hidden folder like .temp in my /mediafiles mount which the app can use.
Smaller files (~20MB) work fine and after the file is complete, it is moved to /mediafiles.
Is it possible to control where the download uses temp space? Ideally there would be a hidden folder like .temp in my /mediafiles mount which the app can use.
Smaller files (~20MB) work fine and after the file is complete, it is moved to /mediafiles.