Following function and improvement are needed.
-Clean up remaining unused files and folders in temp folder regularly.
-Separate the temp folder. One is for the files and folders which can be deleted even while WorldServer is running, and the other is for the files and folders which can NOT be deleted while WorldServer is running.
The requests were raised because of the problem below.
-----------------------------------------------------------------------------------------------------
Under the folder specified by temp_file_path(or TempDir), temporary files and folders are generated.
Even though the files and folders are temporary ones, there are cases where the files and folders remain forever, which consumes a lot of disk space.
Because there are cases where the temporary files and folders remain forever, those files and folders have to be deleted manually.
In addition, it is difficult to determine which files and folders can/cannot be deleted while WorldServer is running.
-----------------------------------------------------------------------------------------------------