AnsweredAssumed Answered

File overwrite for getAVMService().createFile() !!

Question asked by power on Dec 23, 2009
Latest reply on Dec 23, 2009 by mrogers
Friendz,

I am using alfresco enterprise 3.1 WCM
while uploading file through webscript (external request) I can upload file e.g. (Test.doc)
when I am uploading again Test.doc it throws Child exist exception.

I am using : this.service.getAVMService().createFile(path, fileName, req.getContent().getInputStream(), null, null);
Do we have any parameter or argument to createFile method ?  for overwrite that file to overcome this above exception?

In short I need to overwrite this file.

Thanks,

Outcomes