-
Notifications
You must be signed in to change notification settings - Fork 54
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
[Problem/Bug]: File uploading doesn't work correctly #4994
Comments
Hi @DmitryBorodiy, Could you please provide more details about the specific issue you are encountering with WebView2? We attempted to reproduce the problem on our end but were unable to replicate it. Any additional information you can provide will help us investigate further. |
Maybe this is a uwp issue. But some folders don't upload files to sites, even from a photo or document library. When I select a file from the video folder, for example, everything works. Can you tell me what can cause this problem? |
More precisely, files are selected from all folders, but their size is sometimes not correctly transferred to the site. |
Maybe to access for all folders I need to provide broadFileSystemAccess capability for UWP app? I have a feeling that WebView2 only accesses certain folders, not all of them. Therefore, when I select a file from the video folder, everything works, when from documents, the file is selected, but its content is passed empty, and its size is always 0 bytes. |
Hi @DmitryBorodiy, We attempted to reproduce the issue but were unable to do so. Could you please recheck on your end and let us know if the issue persists? |
What happened?
When I upload a file to input it says that the file weighs 0 bytes.
Screen.Recording.2024-12-15.023414.mp4
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
latest
SDK Version
latest
Framework
WinUI2/UWP
Operating System
Windows 11
OS Version
No response
Repro steps
Try create html input and upload any file or open MDN sample to try
https://developer.mozilla.org/en-US/docs/Web/API/File_API/Using_files_from_web_applications
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: