cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Load of Content (Community Edition)

stevedee
Champ in-the-making
Champ in-the-making
I am looking at using Alfresco Community Edition to implement a tactical solution to content storage.  We receive daily dumps of images from an print vendor onto an SFTP site and I'm trying to work out the best way of getting this data into the Alfresco repository.  In terms of metadata for the files, this would be derived from the filename itself i.e. PD10000123_040714.GIF would be a Policy Document for Customer Record 10000123 sent on 04/07/14, so there are 3 elements of metadata there which I'd like to extract and attach to the content once it is loaded into the repository. 

What is the best practice way of achieving this kind of batch loading of content into an Alfresco repository?

Steve
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
For that I'd just add a rule to the folder.  

And send the content directly into alfresco's inbuilt ftp server.

If you still want to use an external ftp server then you would need some sort of scheduled job that pushes content into alfresco.

stevedee
Champ in-the-making
Champ in-the-making
Thanks for the response.  In addition to an image we would also receive back a meta-data file, more than likely a simple text file which would have something like:

image_id, attribute1, attribute2, attribute3, attribute4
image_1.png,123454,PDR,upstairs,birmingham
image_2.png,400032,RN1,downstairs,walsall

So a collection of images land, and a single meta data file which has a line in it relating to each of the images.  Is it possible to create a rule within Alfresco to parse this file in order to attach the relevant meta data attributes against the uploaded image, or would this kind of work have to be done elsewhere outside of Alfresco?

Thanks

Steve