I have a problem with Directory.GetFiles()
. I get all file with it, but I have a file doesn't not exist in my folder (file like ~$temp.docx
), so what's that problem ?
This is my code. Thanks
string[] files = Directory.GetFiles(Server.MapPath(path), "*.*", SearchOption.AllDirectories);