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

关于图片上传产生的临时文件 #145

Closed
GardenHamster opened this issue Jan 17, 2023 · 2 comments
Closed

关于图片上传产生的临时文件 #145

GardenHamster opened this issue Jan 17, 2023 · 2 comments

Comments

@GardenHamster
Copy link

在执行Session.UploadPictureAsync方法后
C:\Users\Administrator\AppData\Local\Temp或者C:\Users\Administrator\AppData\Local\Temp\2目录下会出现类似file-upload11394565611600402215.tmp这样的临时文件
在发送图片频率比较高的情况下,会占用C盘比较多的空间,请教一下有api可以清理这些临时文件吗
image

@Executor-Cheng
Copy link
Owner

这些临时文件均由 mirai 创建, 它可能没有实现正确的删除方法, 你可能需要自己定时清理一下
本项目完全不会向本地磁盘写入任何文件

@GardenHamster
Copy link
Author

懂了,谢谢佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants