# Issue when uploading file

**URL:** <https://forum.servoy.com/t/issue-when-uploading-file/19679>\
**Category:** Classic Servoy\
**Created:** [May 8, 2018, 10:55am UTC](https://forum.servoy.com/t/issue-when-uploading-file/19679 "2018-05-08T10:55:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay.rao](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jay.rao](https://forum.servoy.com/u/jay.rao)\
**Post date:** [May 8, 2018, 10:55am UTC](https://forum.servoy.com/t/issue-when-uploading-file/19679/1 "2018-05-08T10:55:43Z")

</div>

Hi,

We keep on getting below error whenever to upload a document or preview the document. This was never the issue before, also this case only appears in the war uploaded version on the server and not the local version. Can you please explain what can be the possible cause of the error.  
[attachment=0]Error.PNG[/attachment]  
Thanks in advance

 ![Error.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/0/0e14f1de3e296914b0f428a86024827d6cd3d5a1.png)

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [May 11, 2018, 8:26am UTC](https://forum.servoy.com/t/issue-when-uploading-file/19679/2 "2018-05-11T08:26:00Z")

</div>

jay.rao,

Which version of Servoy are you using?

It seems from the error that the Servoy code version in the war export is \>= 8.1 and the file plugin version is \< 8.1  
The old file plugin is not compatible with newer Servoy installs.

Rob

---

<div class="post-metadata">

**Author:** ![robrecht](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@robrecht](https://forum.servoy.com/u/robrecht)\
**Post date:** [May 14, 2018, 11:47am UTC](https://forum.servoy.com/t/issue-when-uploading-file/19679/3 "2018-05-14T11:47:34Z")

</div>

Hi Rob,

I think it’s the latest plugin but how can we check to be sure?  
Is this version nr in package.xml the Servoy version number?  
This is in the package xml :

```auto
<?xml version="1.0" encoding="UTF-8"?>
<mp:servoy-extension xmlns:mp="http://www.servoy.com/extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.servoy.com/extension http://www.servoy.com/schema/servoy-extension-1.xsd">
	<extension-id>com.servoy.file</extension-id>
	<extension-name>File Plugin</extension-name> 
	<version>7.3.1</version>
	<dependencies>
	    <servoy>
	       <min-version>7.3.1 rc0</min-version>
	    </servoy>
	</dependencies>
	<info>
		<icon path="screenshots/file.png"/>
		<description>Plugin for file handling. It provides file and folder functions such as creating, modifying, deleting, returning content and/or size of files and folders.</description>
	</info>
	<requiresRestart/>
</mp:servoy-extension>

```

**Edit**  
Are there other files to check? This package file seems unchanged even in Servoy 8.3

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [May 15, 2018, 8:20pm UTC](https://forum.servoy.com/t/issue-when-uploading-file/19679/4 "2018-05-15T20:20:46Z")

</div>

Unfortunately, you cannot see from the file.jar what version it is.

The file.jar inside the war is the one used, if you make a new war export it should include a matching version.

Rob
