Comments (6)
Hi @shlatchz ,
Yes, NtStatus.ObjectNameCollision is the good value to return.
Because of your report, I tested with the mirror and found that MoveFile was not supporting directories 😆
So I made it for making your test 0026d1d
Unfortunatly, I have also not been able to get a windows prompt.
BUT I made a test with normal NTFS volume and I get also no prompt.
Do you have a exemple where in NTFS volume you get a prompt and not in dokan ?
from dokan-dotnet.
I just tried moving Directory named "A" to directory "B" that contains a directory named "A" in it,
and I did get a prompt.
from dokan-dotnet.
I cannot make the test 😢 It seems that in windows 10, he directly merge the two folders.
Otherwise you can use Process Monitor https://technet.microsoft.com/en-us/library/bb896645.aspx
To see what is the answer of the NTFS Volume at the merge time and compare with your code.
from dokan-dotnet.
Weirdly the bug only happens when I drag (Move) folder "A" to folder "B" (when "A" exists inside "B")
but it doesn't happen when I copy folder "A" to folder "B".
When I copy, I see the message that folder "A" exists in "B".
Procmon shown "Name Collision" in both instances...
from dokan-dotnet.
I made my test when I drag, could not get the merge message.
Anyway, I don't think it is a dokan issue. Explorer react on the information that you provide.
Maybe there is still a difference, but I cannot tell you which.
from dokan-dotnet.
You are right. There was an issue when a folder was passed in CreateFile.
Thanks!
from dokan-dotnet.
Related Issues (20)
- Cant Enable Only one OPEN Stream on a file HOT 1
- Is FileSystemSecurity affects something in GetFileSecurity method? HOT 2
- Does the driver have compatibility issues with server 2022? HOT 9
- [Help wanted] Random unmounts after updating from 1.5.0.0 to 2.0.5.1 HOT 2
- FILE SIZE HOT 10
- Locking the entire application on mount HOT 1
- error 0x800705AA Insufficient system resources exist to complete the requested service. HOT 1
- Folder Icon Change HOT 2
- How to disable virtual disk renaming? HOT 1
- DokanNetMirror does not return "." (self) and ".." (parent) directories in `FindFiles` HOT 20
- Encountered infinite recursion for setting SingleThread=false in DOKAN_OPTIONS HOT 1
- Remounted volumes are randomly unmounted after a few seconds HOT 9
- Hardcoded use of date/time and culture in ConsoleLogger HOT 5
- Identifying exact type of file info call from .NET wrapper HOT 6
- `ReadFile`: semantics of `bytesRead` HOT 27
- AccessViolationException in `RentBuffer` HOT 1
- Feature: Async HOT 3
- The volume label is incorrect HOT 2
- Feature: cancellation tokens HOT 1
- Don't know how to mount the DokanInstance... HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokan-dotnet.