0

I am trying to upload a big file in alfresco, since this cause a problem with java.lang.OutOfMemoryError: Java heap space

I decide to use ftp to upload the document in alfresco. Another problem is introduced with that; I can't create a document with the type I want.

So I am thinking, after I upload the document in alfresco, and then to copy/move the document to another folder (again in alfresco) by changing its type. I am not sure if this is possible. I try to look around no good clue about it.

can some one please tell me if it is possible? if so how ?

thanks,

LeTex
  • 1,452
  • 1
  • 14
  • 28
  • Why not upload it with CMIS? With CMIS you can control the type... – Gagravarr Dec 11 '12 at 23:43
  • it is because of the big file size I am getting: "java.lang.OutOfMemoryError: Java heap space" error. so, CMIS is not convenient way. – LeTex Dec 12 '12 at 20:55
  • Could you perhaps be using the old CMIS endpoint, not the new one? The old ones were largely JS based, the new OpenCMIS powered ones ought to be fine with large files – Gagravarr Dec 12 '12 at 23:41

1 Answers1

2

Add an incoming rule on the folder which specializes the type.

If you use Share, add the content type in your share-config-custom.xml condition DocumentLibrary. Here you can find how to specify it.

Community
  • 1
  • 1
Tahir Malik
  • 6,623
  • 15
  • 22