Open takase1121 opened 2 years ago
That is interesting. If you use features
it stores files in private app directory. Except log files those files should be deleted automatically.
Can you have a look in private app folder to see what files and directories are there? It is located in: /storage/emulated/0/Android/data/org.primftpd/files You should be able to access it through ftp/sftp.
I use the QuickShare option very often (btw does it support sharing multiple files?), and I think the large app data could be because prim ftpd copying the file into internal storage and run a ftp server on it. I cannot replicate the issue even when I tried to send a big file, it seems like the file gets deleted afterwards. Maybe prim ftpd crashed (or got shut down by Android; battery saver ftw) and didn't delete the temporary file.
If old QuickShare files are found during startup, they are deleted automatically. Recently I've seen a sample where log file was ~400 mb in size. You should look into that directory and see what really eats up space.
Currently QuickShare supports just one file. I could look into it ...
I'll be splitting the QuickShare thing into another issue.
I will come back to this if I ever encountered this issue again. This just feels like a freak issue caused by some coincidence.
The data size of primitive ftpd ballooned to 400mb after a few uses. If primitive ftpd keeps some cache, is there anyway to clear it?