Git Product home page Git Product logo

Comments (6)

mlsad3 avatar mlsad3 commented on July 24, 2024

My library stated 2.0.0-beta, I'm updating to the latest and will see if they can reproduce it.

from longpath.

mlsad3 avatar mlsad3 commented on July 24, 2024

Updating to latest Pri.LongPath, the user still hits this issue. Same stack trace.

from longpath.

mlsad3 avatar mlsad3 commented on July 24, 2024

The user manually tried going to the folder that had issues. Note, this folder name (1234_5678-110) was already returned from parentFolder.GetDirectories(), and the code is now iterating on each of these child folders with child.GetDirectories().

The user, when he navigates Windows Explorer to the parentFolder, can see the list of directories underneath. (Note this is a network drive). Then when user double-clicks on 1234_5678-110, an error message appears in windows:
"1234_5678-110 is not accessible. Access is denied."

image

from longpath.

mlsad3 avatar mlsad3 commented on July 24, 2024

One more side note, somewhat related. The same person has a shared network folder with paths like:
\\SLFILE01\Files1\mydoc.docx

When he goes home, and isn't connected to network, the following throws an exception:
FileInfo fi = new FileInfo (@"\\SLFILE01\Files1\mydoc.docx");
var bad = fi.Exists; // This throws exception
It is expected that fi.Exists would throw 'false' instead. I'm putting a try/catch around the Exists function now.

from longpath.

peteraritchie avatar peteraritchie commented on July 24, 2024

I haven't been able to repo this; but is the user using Sync Center or some other method of offline files?

from longpath.

mlsad3 avatar mlsad3 commented on July 24, 2024

Hi,
Just checked with the user. They aren't using anything like that at work.
You can close this if you want. I've already modified (added try/catch around the Exists function) my own branch and am not blocked by this issue.
Thanks

from longpath.

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.