Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Won't Fix
-
cordova@7.0.0
-
None
-
Windows 10 with Visual Studio 2017
Cordova Version 7.0.1
Windows 5.0.0
cordova-plugin-file-transfer 1.6.3
Windows 10 UWP
Description
I'm getting an error code :1 when i try to upload a file in window 10 desktop using the file transfer plugin. The message in the console is as follows
0x80070002 - JavaScript runtime error: The system cannot find the file specified.
I know the file exists because i have an img element that displays the file and i previously picked the file from the Photo Library
e.g <img alt="Thumbnail" src="ms-appdata:///local/camera_cordova_temp_return%20(26).jpg">
The stacktrace tell me that the error is cause by the following line in FileTransferProxy.js
Windows.Storage.StorageFile.getFileFromPathAsync(filePath)
I can't figure out why i am getting the error code: 1 0x80070002 - JavaScript runtime error: The system cannot find the file specified.
So i guess its a bug.