Problems with image URL when uploading with file transfer plugin

Hi,

I am having troubles with uploading a file to my server with the file transfer plugin. Sometimes it works and sometimes it does not. I think that I have tracked it down to a problem with the image url. I used my own File Transfer example which you can find here.

This one works, which was an image send through whatsapp and selected through the multi image picker.

"file:///data/user/0/com.ionicframework.filetransferexample106519/cache/tmp_IMG-20160423-WA0001-1704041617.jpg"
```

This one does not work, was made by the camera and selected later by the [multi image picker](https://github.com/wymsee/cordova-imagePicker).

```
file:///data/user/0/com.ionicframework.filetransferexample106519/cache/tmp_IMG_20160424_115906127334170.jpg
```

This one does not work, was made by the camera.

```
"file:///storage/emulated/0/Android/data/com.ionicframework.filetransferexample106519/cache/1461502261084.jpg"
```

I am getting a `FileTransferError.FILE_NOT_FOUND_ERR` error with the images that are not working. Anyone got a suggestion why some pictures are working and some aren't?

I’ve managed to solve the problem. The problem was not at the side of the app but my API. I now know it is not IONIC related but for anyone interested this what helped me on my way.

The problem was that I was uploading large files but the server did not accept them. The error I was getting is still very unhelpful though. By setting the following in the web.config of my API

<system.web>
    <httpRuntime maxRequestLength="30000000" />
</system.web>

<system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="30000000" />
      </requestFiltering>
    </security>
</system.webServer>

I allowed larger files to be uploaded.

Could you please share your server side code?

I’m using Node.js and not able to figure out how to receive the parameters/data sent by the device.