-
Now I have a file in the dokan mount point, for example, named test.txt. Right-click to delete the test1 file it will delete test.txt with no prompt, but it maybe failed in the dokan fuse. After I refesh the parent DIR of test.txt. It appears again. I wrote a hack in DokanDispatchCreate function in dokan sys as following.
But it can not avoid the problem. Is it true that windows have deleted the file view before call create dokan sys ops? @kyanha |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The system ask you if the file can be deleted before actually doing it (making it disappear in explorer). |
Beta Was this translation helpful? Give feedback.
-
By the way...
If you do this, then you will never be able to delete any file via the dokan driver that you compiled, because the file handle with the necessary permission and operation will never be opened, so it will never be closed and acted on. |
Beta Was this translation helpful? Give feedback.
By the way...
If you do this, then you will never be able to delete any file via the dokan driver that you compiled, because the file handle with the necessary permission and operation will never be opened, so it will never be closed and acted on.