snowdream opened a new issue #448:
URL: https://github.com/apache/cordova-plugin-file/issues/448
# Bug Report
## Problem
### What is expected to happen?
I need the real js File Object, to upload it to the web server.
### What does actually happen?
I get the file from `window.resolveLocalFileSystemURL`,but i find the file
is not the real js File object.
When i upload it to the web server, I find the content of the file is
[Object objct].
## Information
### Command or Code
```bash
window.resolveLocalFileSystemURL(image.uri, (fileEntry) => {
console.log(fileEntry)
fileEntry.file((file) => {
...
```
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
macbook pro
android emulator
cordova and cordova-plugin-file
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]