We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(Not sure if this is the correct repo for the issue so pardon me if not)
Running the following code in dart 3.4.0 on WINDOWS raises PathNotFoundException
PathNotFoundException
import 'dart:io'; void main() async { print(await File(r'\\my_srv\some_path\test.txt').exists()); File(r'\\my_srv\some_path\test.txt').copy(r'C:\path\test.txt'); }
but works fine in earlier versions (like 3.3.4 and 3.0.0).
I see there have been some changes like this one (maybe some more) that could be the cause.
I also see that there are not tests set up for network paths so this isn't caught.
Finally I'm not sure why File().exists()) returns true but .copy() can't see the file... shouldn't both methods resolve the paths in the same manner?
File().exists())
true
.copy()
This is my OS:
Edition Windows 11 Pro Version 23H2 Installed on 27/3/2024 OS build 22631.3737
The text was updated successfully, but these errors were encountered:
I think https://github.com/dart-lang/sdk/issues is the proper repo for this issue instead
Sorry, something went wrong.
You're probably right... Opened one there instead at
dart-lang/sdk#56049
No branches or pull requests
(Not sure if this is the correct repo for the issue so pardon me if not)
Running the following code in dart 3.4.0 on WINDOWS raises
PathNotFoundException
but works fine in earlier versions (like 3.3.4 and 3.0.0).
I see there have been some changes like this one (maybe some more) that could be the cause.
I also see that there are not tests set up for network paths so this isn't caught.
Finally I'm not sure why
File().exists())
returnstrue
but.copy()
can't see the file... shouldn't both methods resolve the paths in the same manner?This is my OS:
The text was updated successfully, but these errors were encountered: