UNC Paths do not support paths over 255 characters #6049
Labels
Issue-Question
ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a
Resolution-Duplicate
The issue is a duplicate.
So this is something I've experienced while attempting to use Core to solve a User Profile archiving problem that's been a thorn in our side when users have paths that exceed the usual 255 character limit. Through some experimentation I've found that long path support works perfectly as long as you are local or working through a mapped drive, but it does not work through UNC Paths.
Very well could be associated with #4439 or other long path issues that are currently open, but none of them directly mention UNC paths or seem like they should be closed at this point. Figured I'd put this in anyways just to check.
Seems to not work regardless of if you are trying to copy Remote > Remote or Remote > Local. Accessing a Share vs Admin Share also does not matter.
Steps to reproduce
Expected behavior
Files from the UNC Path are copied to the CopyTarget folder
Actual behavior
No files are copied over and the command errors out on the path that exceeds 255 characters. If there are other folders and files that do not exceed 255 character paths, they will successfully be copied.
Environment data
The text was updated successfully, but these errors were encountered: