cancel
Showing results for 
Search instead for 
Did you mean: 

How to 'link' a folder on the hosting system to a share

szgabor
Champ in-the-making
Champ in-the-making
Hi,

We are running Alfresco as a classical document management and sharing application. So users permissions etc already well established so I am trying to extend this to a specific task.

This is a linux server running  the following version:
Installed Schema   1002
Installed Version   3.0.0 (Stable 1526)
Server Schema   2019
Server Version   3.2.0 (@build-number@)

I would like to know if the following scenarios is  possible:

I have a few files on the system in a given folder /var/opt/backup/current/current_data_results

The file current_data_results (and a few more there) are actually current dumps of queries from a database generated in a certain intervals and copied there.

So uploading from the GUI is not an option.

Now, I would like to share this folder with the current files among  a group of Alfresco users for further analysis processing what not in one of the space within the existing Alfresco space.

I am new to Alfresco so not sure how this can be done.  We do not care of the changes, only the latest  results are important for now.

How can I link an alfresco share to a folder like that. I am admin of both the server and the alfresco so filesystem permissions will be no problem.

Any suggestion would be appreciated.

Gabor
3 REPLIES 3

jottley
Confirmed Champ
Confirmed Champ
It is not possible.  Your likely to get better results by have the files written into alfresco using one of the file servier interfaces (FTP, CIFS, NFS).  See http://wiki.alfresco.com/wiki/File_Server_Subsystem

Jared

szgabor
Champ in-the-making
Champ in-the-making
Jared,

Thanks for the response…

Could you be a little more specific. Currently WebDAV and FTP is configured and working. (CIFS makes no sense in our setup 😞  )

Can you point me to some example hows to push a file into the alfresco filesystem from the machine filesystem  by some sort of scripting?

Thanks.

Gabor

jottley
Confirmed Champ
Confirmed Champ
If the OS supports mounting of webDAV (most OSs these days do) You can script simple copy.

Other tools to look at would be cadaver  (Example of scripting with cadaver and expect)

For ftp there are plenty of examples that a quick google search would provide examples.

For either of these on a Linux system you could take advantage of fuse based filesystems to mount the connections and allow you to again perform simple copies

davfs2 – http://savannah.nongnu.org/projects/davfs2
CurlFTPFS – http://curlftpfs.sourceforge.net/

Probably the best approach is to mount either via webDAV or FTP and write the files directly into Alfresco.

Jared