Skip to content

Download Nextcloud files¤

Python Plugin

This operator is part of a Python Plugin Package. In order to use it, you need to install it, e.g. with cmemc.

This workflow task downloads files from a specified Nextcloud service instance.

Given the URL of the target Nextcloud instance along with your credentials, you can specify any directory from which files should be downloaded. Additionally, you may define file patterns to include or exclude specific files within the selected directory. The files are not downloaded to the project resources, but are only available within the workflow itself.

Nextcloud List Files input¤

If this workflow has an input, it will take the data that comes in instead of the selected values. This works only with the schema used in the Nextcloud List Files Plugin. Make sure you still add the appropriate URL, identification and token.

Important:¤

To establish a secure connection, you must generate a dedicated app-specific password and username in the Security section of your Nextcloud account settings. Do not use your standard login credentials.

Parameter¤

Nextcloud URL¤

The Base URL of your Nextcloud service, e.g. https://cloud.example.com.

  • Datatype: string
  • Default Value: None

API identification¤

The identification generated by the app-password function in Nextcloud.

  • Datatype: string
  • Default Value: None

API token¤

The token generated by the app-password function in Nextcloud.

  • Datatype: password
  • Default Value: None

File or directory path¤

The path to a specific directory from which to download files.Includes all the subdirectories. Leave empty or type ‘/’ for root directory.When pasting a directory path, select ‘Custom entry:’ to trigger autocompletion andcheck if the folder is recognized.

  • Datatype: string
  • Default Value: None

File expression using *¤

A filepath for searching specified files through the given path. E.g. searching for *.txt results in all .txt files under the given directory and its subdirectories.

  • Datatype: string
  • Default Value: None

Error on empty result¤

A flag indicating weather an empty output will throw an error.

  • Datatype: boolean
  • Default Value: false

Exclude files in subfolders from download.¤

A flag indicating whether files located in subfolders should be excluded from the download.

  • Datatype: boolean
  • Default Value: false

Comments