A question re peroming an upload of a file in java
I can understand how the WebServiceSamples create new content in Alfresco by using contentService.create method. But the examples only show how to create the content from a String. I want to upload a file i.e. createContent from a file - and I'm not sure the most efficient way to do this. Please could you help Thanks in advance :?
Re: A question re peroming an upload of a file in java
It must be gettig close to the weekend - just not thinking straight ………….. I've used a method to return the contents of the file in a byte array and then used contentService.create .. and it works ……….. duh!
But is this the most efficient way of uploading files to Alfresco ?