Set Doctype of new upload files using FTP in alfresco

197 Views Asked by At

I am using alfresco-5.2.I have enabled the FTP in alfresco,and able to upload the files successfully.but those are coming without type can anyone tell me how to set doctype and metadata for file.

1

There are 1 best solutions below

0
On

FTP allows you to upload the file and that's about it. Similar to copying via WebDAV or CIFS. If that is your only option you will have to follow Gagravarr's suggestion and add a folder rule to the folder that specializes the type and sets the properties as you see fit (in Share, go to the folder and click "Manage Rules").

If code is an option then you should use CMIS to upload the documents because CMIS will allow you to set the document type and set custom properties. There are CMIS clients for a number of languages including Java, Python, .NET, and others. The most widely-used client libraries can found at the Apache Chemistry project.