# File transfer error after updating cordova version 3.5

**URL:** <https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612>\
**Category:** uncategorized\
**Created:** [August 4, 2014, 2:18am UTC](https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612 "2014-08-04T02:18:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakraveer](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/chakraveer/32/64854_2.png) [@chakraveer](https://forum.ionicframework.com/u/chakraveer)\
**Post date:** [August 4, 2014, 2:18am UTC](https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612/1 "2014-08-04T02:18:03Z")

</div>

After updating cordova version 3.5 getting error code 3 while uploading file using cordova File transfer .

this error coming after 60 seconds.

My code

var options = new FileUploadOptions();  
options.headers = { Connection: “close” };  
options.chunkedMode = false;  
options.fileKey = “recFile”;  
var imagefilename = imageURI;  
options.fileName = imagefilename;  
options.mimeType = “image/jpeg”;  
var ft = new FileTransfer();  
ft.upload(imageURI, “[http://0000000000/api/FileUpload](http://0000000000/api/FileUpload)”, win, fail, options);

plugin versions.  
 ![](https://sea1.discourse-cdn.com/ionicframework/uploads/default/2973/a81c4f00cadafdbc.png)

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [August 4, 2014, 5:51am UTC](https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612/2 "2014-08-04T05:51:46Z")

</div>

> <https://github.com/apache/cordova-plugin-file/blob/master/doc/de/index.md>

You got error 3 -\> it is the AbortError.

Maybe your API for uploading is not online or takes to long for the response and after 60sec you run into a timeout?  
If you update cordova you should update the plugins to the newest version (cordova.file and file-transfer).

Greets, bengtler

---

<div class="post-metadata">

**Author:** ![chakraveer](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/chakraveer/32/64854_2.png) [@chakraveer](https://forum.ionicframework.com/u/chakraveer)\
**Post date:** [August 4, 2014, 6:15am UTC](https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612/3 "2014-08-04T06:15:47Z")

</div>

thanks to reply bengtler… i have already updated all the plugin after updating cordova 3.5

```
first remove all the plugin using
 cordova plugin rm <pluging name>
then add each of them using
cordova plugin add <pluging name>

```

i am still getting that error code 3 . My web api path is correct and its hosted on same machine.  
i found same issue lots of people getting and saying its bug in file pluging into cordova 3.5…

can i use older file plugin or it will have some dependency with plugins…  
Can i find and use any latest cordova jar file which will have all pluging inside in my android project?

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [August 4, 2014, 7:52am UTC](https://forum.ionicframework.com/t/file-transfer-error-after-updating-cordova-version-3-5/7612/4 "2014-08-04T07:52:26Z")

</div>

file-transfer plugin depends only on the file-plugin.  
So you have to first look for these plugins.

After that, some other plugins like camera-plugin have a dependency to the file-plugin.  
But for testing purpose you can downgrade only file-transfer plugin.

Greetz.
