cancel
Showing results for 
Search instead for 
Did you mean: 

copy folders from local system to alfresco

Isha
Champ in-the-making
Champ in-the-making

Hi,

My requirement is to copy folders containg subfolders/files from local system to alfresco repository using any api/service . I am not geeting how to do this .Please suggest and kindly share the reference url.

1 ACCEPTED ANSWER

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Isha,

If you are using Enterprise, have you looked at the Enterprise Bulk Importer tool? There is the Community Bulk Import Tool. There is also this tool.

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

View answer in original post

4 REPLIES 4

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Isha,

If you are using Enterprise, have you looked at the Enterprise Bulk Importer tool? There is the Community Bulk Import Tool. There is also this tool.

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

Isha
Champ in-the-making
Champ in-the-making

We already explored this option but it requires manual intervention and it is for one time activity.our use case is different which is explained below:

We are in process to integrate two systems and we will be getting files from source systems . we need to checkin those files in alfresco (create folder->file). 

This will be a automated process hence we need some API's - any approach by which programmatically we can attach / checkin those files in folder.we already have developed a code to create folders and we would like to extend it.

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Isha,

To be fair, "on call" is hardly automation, since it implies some type of intervention. Are you saying you want a script that when in Admin you can point at a different file system (on another machine, etc) and then enter a destination folder within ACS, & "click" copy? The result would be all child folders and documents would be copied into the ACS repository, keeping the same structure, etc? Well, if that's the case, then that's what the Bulk Import does using this http://localhost/alfresco/service/bulkfsimport UI. You can invoke a webscript to kick off an import by calling http://localhost:8080/alfresco/service/bulkfsimport/initiate.

Or am I missing something?

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

Isha
Champ in-the-making
Champ in-the-making

To further detail down the use case :

From source system we will be creating and sending package , that package contains files (xyz.zip and xyz.csv) . Now we wil be calling alfresco webservices and would look to execute following steps:

1) Create system folder  xyz(same name as file name 😞 For this we have api's filefolderservice.createfolder() .

2) Attach files to system folder xyz: for this we need help. 

This will be repetitive process and mujltiple users(non-admin) will execute this from the source system. 

Hence we are looking for some API's for this.Hope you got me.

Thanks.