Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot obtain data from Windows shares #83

Closed
geofstro opened this issue Jul 29, 2022 · 1 comment
Closed

Cannot obtain data from Windows shares #83

geofstro opened this issue Jul 29, 2022 · 1 comment

Comments

@geofstro
Copy link

From windows shares I cannot obtain data using contents(atPath:…

I receive the following error…
failed to fetch data Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error" UserInfo={NSLocalizedFailureReason=Error code 5: Open failed with (0xc0000033) STATUS_OBJECT_NAME_INVALID.}

I am able to list all directories and paths; but cannot get the data from a file.

This is not an issue on Linux or Mac shares; just Windows

@geofstro
Copy link
Author

Solved it! After reading some other reported issues here, I dropped the first slash from the path of the file I was requesting data for and now it works. Should have read those before posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant