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

文件上传问题 #4672

Closed
aizyxaizyx opened this issue Mar 10, 2023 · 2 comments
Closed

文件上传问题 #4672

aizyxaizyx opened this issue Mar 10, 2023 · 2 comments

Comments

@aizyxaizyx
Copy link

版本号:所有版本
前端版本:
问题描述:

部署war包上传文件 tomcat文件上传的临时文件因为占用无法删除掉
经测试发现是FileTypeFilter.fileTypeFilter(file);此方法造成的文件被占用,注释掉此方法tomcat就能自动清理掉临时文件

截图&代码:

1678434451427
1678434412006

@aizyxaizyx
Copy link
Author

我看此方法方法只有在使用oss或者minio上传才有
本地上传未调用此方法,是正常的

@zhangdaiscott
Copy link
Member

已修复

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