如何删除超过一小时前上传的临时文件夹中的文件? [英] how to delete files from temporary folder which are uploaded more than one hour ago?
本文介绍了如何删除超过一小时前上传的临时文件夹中的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮帮我??如何从一小时前上传的临时文件夹中删除文件??
Please Help Me??how to delete files from temporary folder which are uploaded more than one hour ago??
推荐答案
看看这些
File.Delete [ ^ ]
Path.GetTempPath [ ^ ]
Directory.GetFiles [ ^ ]
这3个链接应该可以帮助你创建一个满足您需求的解决方案。如果您仍然被卡住,请发布一些代码,我们会进一步帮助您。
Have a look at these
File.Delete[^]
Path.GetTempPath[^]
Directory.GetFiles[^]
These 3 links should help you create a solution that meets your needs. If you are still stuck after please post some code and we will help you further.
这篇关于如何删除超过一小时前上传的临时文件夹中的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文