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

Renaming a file over UNC doesn't work #114

Open
uhonermann opened this issue Sep 27, 2022 · 0 comments
Open

Renaming a file over UNC doesn't work #114

uhonermann opened this issue Sep 27, 2022 · 0 comments

Comments

@uhonermann
Copy link

When you try to rename a file in Windows Explorer using the UNC Path instead of the drive letter (Network Mount), you will always receive an error (memfs sample).

image

Reason is, that the Move Callback receives the destination filename as complete UNC-Path (in this case: "\my-fs\memfs\Hello World2.docx").
Of course a rename to that name cannot work.

As a workaround I currently parse the destination filename and remove the \server\share part.

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