12-08-2022 06:02 AM
I'd like to find all files from specific directory using python.
I've checked Alfresco Core API, first I found my desired folder with /queries/nodes, then I tried to check it's contents with /nodes/{nodeId}/children. But it returns all stored folders in that directory.
Any alternatives to :
for root, dirs, files in os.walk("/"): for d in dirs: if specific_folder in d: for f in files:
12-12-2022 04:32 AM
Not sure to understand your requirement, but you may try using CMIS protocol:
https://chemistry.apache.org/python/cmislib.html
12-21-2022 07:58 AM
cmislib is unauthorized. I can only use Alfresco core api or search api.
12-21-2022 08:00 AM
I want just to download all files from specific folders.
12-30-2022 07:41 AM
For search API use query with path and type, for example:
(PATH:'/app:company_home/st:sites/cm:yoursite/cm:documentLibrary//*') AND (+TYPE:'cm:content') AND (<your query for documents>)
Explore our Alfresco products with the links below. Use labels to filter content by product module.