cancel
Showing results for 
Search instead for 
Did you mean: 

File Upload Limit through openCMIS

Not applicable

I am trting to upload a docx file of 50MB into alfresco repository using a python script that leveraging on opencmis library however, I am getting an error that connection was closed. I have attached the python scipt and the document. The error log is as shown below opencmis

File "C:\Python27\Lib\httplib.py", line 1121, in getresponse
    response.begin()
  File "C:\Python27\Lib\httplib.py", line 438, in begin
    version, status, reason = self._read_status()
  File "C:\Python27\Lib\httplib.py", line 394, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "C:\Python27\Lib\socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
socket.error: [Errno 10054] An existing connection was forcibly closed by the remote host

1 REPLY 1

Not applicable

Steps taken so far on Alfresco 5.2 include adding

opencmis.maxContentSize=1024

to algresco global properties file and adding

maxPostSize="1073741824"

to server.xml for tomcat and restarting the service.