Giter VIP home page Giter VIP logo

Comments (6)

Liryna avatar Liryna commented on August 30, 2024

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.

shlatchz avatar shlatchz commented on August 30, 2024

I just tried moving Directory named "A" to directory "B" that contains a directory named "A" in it,
and I did get a prompt.

jjjjj

from dokan-dotnet.

Liryna avatar Liryna commented on August 30, 2024

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.

shlatchz avatar shlatchz commented on August 30, 2024

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.

Liryna avatar Liryna commented on August 30, 2024

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.

shlatchz avatar shlatchz commented on August 30, 2024

You are right. There was an issue when a folder was passed in CreateFile.
Thanks!

from dokan-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.