Uploading a file to CM repository fails
I am trying to upload a file to the CM repository and I get the following error:
"<file> does not exist, or file is empty; you cannot upload empty files."
I applied the solution specified in SAP Note 898637, but the same problem persists. The version I am using is <b>NW 2004S SP5</b>.
Any configurations I might have missed?
I guess you are writing a custom code to upload files into CM Repository? Are you using FileUpload Component?
If you are using it,make sure that you have added the following in a dynpage
Form form = this.getForm(); <b>form.setEncodingType("multipart/form-data")</b>;
In case of a JSPDynPage make sure that the following is added in the JSP.
<hbj:form id="myFormId" <b>encodingType="multipart/form-data</b>">
Hope it helps