AnsweredAssumed Answered

Can someone PLEASE provide just ONE example of an upload

Question asked by dallinns on Jun 1, 2011
Latest reply on Nov 2, 2017 by farqalit.nasir
I am ripping my hair out trying to get the upload webscript (alfresco/service/api/upload) to work. It seems simple enough but I can't get it to work for the life of me.

First of all, which parameters are necessary for NEW FILE UPLOAD (i.e. How can I possibly provide an updatenoderef if I'm not updating a node?). I don't want to update a node, all i want is to take one simple file off of my hard drive, and upload it to Alfresco into the company home folder. It asks for uploaddirectory and containerid. In what format does it want these? Do I provide the UUID of Company Home? Something else? How do I provide an uploaddirectory?

I'm sure this is all quite simple, but I just need a fully fleshed out example of an HTML form or a curl request which shows what is needed and in what format, etc.

Outcomes