cancel
Showing results for 
Search instead for 
Did you mean: 

how to import folder and the files from local hard disk

zlyjjj
Champ in-the-making
Champ in-the-making
1.Now I can only import file into alfresco,I don't know how to import folder ,Someone know how to import the folder?

2.how to import  files from local hard disk into Alfresco,and not move the floder and files
now when I import one file into Alfresco,then alfresco auto copy the file to "C:\Alfresco\alf_data\contentstore"
and auto change the file name such as "a31f9bf3-279c-4b70-874a-4a88e87bf76d.bin"
wherther can keep the files name and not move?
4 REPLIES 4

ofrxnz
Champ in-the-making
Champ in-the-making
To import folders you have several options.

1.) zip the folder and use the "Import" function under "more Actions".  select your zip file and fill in the blanks.  Alfresco will upload the zip file into the current space and extract it.  This is the way to do it in the web gui

2.) you can  use the file system mounts to upload files.  These are CIFS, SharePoint, FTP, NSF, Webdav.  instructions are found here http://wiki.alfresco.com/wiki/File_Server_Configuration

basically in option 2 you can mount it as a file system, or a web folder if you are running windows. 


For your second question, The short answer is no, This is how alfresco handles versioning.  The actual file name is stored in the database and "a31f9bf3-279c-4b70-874a-4a88e87bf76d.bin" is the Unique key for that version of that document.  This way you can still pull up a document that is 5 versions old. 

so if you are looking for the document "Test.doc" and there are 3 versions of it.  the client finds the file you want in the database and finds the unique identifier for the version you want and depending on the version alfresco goes and finds it

I think the table structure works something like the following

document[ID,Name,Type]
versions[ID,version,UniqueDocID]

where UniqueDocIds are something like the following
version 1.0 = asdf8as9df689s6fas7.bin
version 2.0 = asjhfoayfuasfjalsfalf.bin
version 3.0 = asdfuihasofjasldfjsd.bin

lalsamir
Champ in-the-making
Champ in-the-making
I'm using alfresco 4.2. Where exactly is the import function? I've looked through all the more actions displayed on the page and I do not see an import function.

thanks

zladuric
Champ on-the-rise
Champ on-the-rise
This option is available in the Explorer (/alfresco), not in Share. Navigate to a folder and import the zip file.

But I would go with CIFS option, it is much easier. Just mount a "web folder" on your windows desktop and then you can copy/paste stuff from windows as you usually would on a network drive.

aleksczajka
Champ in-the-making
Champ in-the-making
I'm on the Explorer in a Community install and don't see a link for Import or More Actions. See the attached image. Is it something with community that is not provided?