cancel
Showing results for 
Search instead for 
Did you mean: 

Copy document outside repository with javascript

melttech
Champ in-the-making
Champ in-the-making
Hi,

I want to a set rule whenever an image is uploaded into the space, i want to copy the image to the folder outside the repository for example at /opt/images. How can i do this with javascript? Or any other alternative
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
AFAIK with the help of Alfrescojavascript you will not be able to acheive this as for alfrescoscirpt it can only move documents within repository not out side.
But I think what you are looking for is "DesktopSync in alfresco" check out this
https://forums.alfresco.com/forum/general/announcements/early-preview-release-alfresco-desktop-sync-...

melttech
Champ in-the-making
Champ in-the-making
Thanks for your reply but it wasnt the solution im looking for.

Been ages i've been trying to look for this solution.

jpfi
Champ in-the-making
Champ in-the-making
Hi,
you should be take a look into TranserService & FileSystemReceiver.
Cheers, Jan