cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy/move files within alfresco repository

kaffi
Confirmed Champ
Confirmed Champ
Hi Guys!

I want to write a webscript which copies or moves  files/folders within the repository.

I have found copyService, NodeService and FileFolderService but for me it's not sure which one to take.

It should make a 1:1 copy of the original including the properties…

Can somebody help?

Regards
Kaffi

2 REPLIES 2

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi Kaffi,
CopyService should do the job for you. Check the following sample code;

http://docs.alfresco.com/5.1/references/dev-services-copy.html

Thanks that worked!