Meta
Meta copied to clipboard
Uploading large quantities of files causes them to only upload to the active directory, not the directory they were uploaded to.
Checklist
- [X] I have read and agree to the README (found on https://github.com/Minehut/Meta)
- [X] I am NOT reporting a security vulnerability
- [X] I have searched the Issue Tracker to make sure this is not a duplicate issue
- [X] This issue does not contain any sensitive information
What platform does this issue occur on?
Website
Current Behavior?
When uploading large amounts of files (such as the region files of a world), the files will go only into the user's active directory. I believe the issue is caused by faulty programming in the website, although I cannot be certain. This would not be a problem if the files uploaded in real-time, but unfortunately the file manager requires you to interact with it in order to update its contents and make sure it's not hanging.
What should happen?
The files should go into the first directory, the directory which they were intended to be uploaded to.
Reproduction Steps
Get yourself a large enough world on your computer, and upload its "poi" or "region" files into a file folder on your Minehut server. Then, while it is uploading, switch your active directory back to the home one. When you go back into the first folder you uploaded the files to, there will be some there, but exiting out again reveals that some of the files leaked into the home directory.
Client Information?
Web browser: Opera GX 1.4 OS: Windows 10 Home Version 10.0.19044 Build 19044 Server name: MCCont
Images?
No response
Can confirm, this has happened to me before. Though this is easily solvable by simply staying in the directory and waiting for the upload to finish.