cancel
Showing results for 
Search instead for 
Did you mean: 

Upload a folder

chrizz_msweb
Champ in-the-making
Champ in-the-making
Hi,

I'm suggesting my company to use Alfresco for document management. Currently we use shared folder.
I've create the demonstration, new we're about to import all the old data into Alfresco.
Can anyone explain me how to upload more than a file (whole folder) at a time to Alfreso's Space?

Thax
16 REPLIES 16

mrogers
Star Contributor
Star Contributor
Use Alfresco's "shared folder".     Or ftp.   Or import a zip file.

ssaravanan
Champ in-the-making
Champ in-the-making
FTP is the best or you can use CIFS (lets you mount the repository as a file system)
and use xcopy or rsync to import it into Alfresco.

chrizz_msweb
Champ in-the-making
Champ in-the-making
Thax,

at least i'm using zip for upload and webdav for download

hydro
Champ in-the-making
Champ in-the-making
has anyone have a working CIFS available on Alfresco?

chrizz_msweb
Champ in-the-making
Champ in-the-making
I've use WebDav and FTP, but fail to configure CFIS.
The tutorial from wiki are slightly different, i think it's because i'm using version 3.2r
Anyway, i think WebDav and FTP is enough for me this time.

mrogers
Star Contributor
Star Contributor
To answer "hydro" yes I do have CIFS working on windows XP.   Alfresco 3.3.

hydro
Champ in-the-making
Champ in-the-making
thanks mrogers

1) could I have the steps to configure CIFS?
2) Is CIFS able to map network shared hard drives?
3) from my understanding, Alfresco copies the file into the server from the pointed location, this action makes the server more bulky and takes more space.

Once i've enabled CIFS, I want to be able to upload hundreds of files to alfresco. will this be possible without creating problems on the server?

ssaravanan
Champ in-the-making
Champ in-the-making
Rename the file tomcat/shared/classes/alfresco/extension/file-servers-custom.xml.sample to tomcat/shared/classes/alfresco/extension/file-servers-custom.xml
Start Alfresco and mount it as a drive using (if you are on Linux)
mount -t cifs //127.0.0.1/alfresco /mnt/alfresco -o username=admin,password=admin
2) Is CIFS able to map network shared hard drives?
CIFS lets you browse the Alfresco Repository as a File Sharing system and mount it as
permanent drive.
3) from my understanding, Alfresco copies the file into the server from the pointed location, this action makes the server more bulky and takes more space.
You could then use rsync or xcopy to do a bulk import of documents into Alfresco repository

hydro
Champ in-the-making
Champ in-the-making
Hi,

Thanks for the guide,

I am getting error when trying to mount the drive
mount error: can not change directory into mount target /mnt/alfresco‍‍
Any idea how to solve this?

I couldn't find file-servers-custom.xml.
I could only find file-servers.xml
Should be the same one right? It looks something like below

<alfresco-config area="file-servers">   <config evaluator="string-compare" condition="CIFS Server">      <serverEnable enabled="${cifs.enabled}"/>            <host name="${cifs.localname}A" domain="${cifs.domain}"/>      <comment>Alfresco CIFS Server</comment>      <!– Set to the broadcast mask for the subnet –>      <broadcast>${cifs.broadcast}</broadcast>            <!– Set to the IP for the adapter for Java socket –>      <bindto>${cifs.bindto}</bindto>      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>      <tcpipSMB ipv6="${cifs.ipv6}" platforms="linux,solaris,macosx"/>      <netBIOSSMB bindto="${cifs.bindto}" platforms="linux,solaris,macosx"/>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍


and file-servers.properties is as below

filesystem.name=Alfrescocifs.enabled=truecifs.localname=${localname}cifs.domain=cifs.broadcast=255.255.255.255cifs.bindto=0.0.0.0cifs.ipv6=disabledcifs.hostannounce=trueftp.enabled=trueftp.ipv6=disablednfs.enabled=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍


How do I mount if on Windows?
Welcome to the new Hyland Connect. Get started or submit feedback.