Page 1 of 1

Upload Huge Files using web services??

PostPosted:Wed Jul 24, 2013 6:20 am
by shah.farid
Hello,

I am using OpenKM 5.1.10 on Windows 7
I have created an application on VB.net that uploads the files (in bulk) to specified folder with property group values. The application works flawlessly if the file size remains less then 64 mb but shows following error if file size exceeds:

Client found response content type of '', but expected 'text/xml'. The request failed with an empty response. Document cannot be uploaded

Please note that if I add the file using OpenKM ui, it uploads successfully. I have also set max.file.size = 0 in Administration --> Configuration tab.

Can anyone help me?

Best Regards,

Re: Upload Huge Files using web services??

PostPosted:Thu Jul 25, 2013 7:04 am
by jllort
OpenKM 5.1.10 is older version I suggest upgrade to 6.2.4. You can also try with latest 5.1.11 which is available at http://integration.openkm.com/ and migration is explained here http://wiki.openkm.com/index.php/Migrat ... _to_5.1.11

5.1.10 is not under maintenance and will not be any change on this version. If there's a bug or similar will not be done any change in source code because we consider 5.1.x versions and older not under maintenance. Anyway is strange you get this kind of problems ... because other users are uploading files with ws and seems you're the only which have this kind of limitation. For example try ms office adding http://sourceforge.net/projects/openkm/ ... p/download which uses .net ws to upload files . I think the problem is in other side.

Re: Upload Huge Files using web services??

PostPosted:Mon Jul 29, 2013 6:43 am
by dejanfc
You can also try to increase the maxPostsize in server.xml , in the <Connector> segment.