ocm/embedded

Transfers the contents of an OCM embedded share (an RO-Crate JSON payload listing plain or Zenodo files) to a WebDAV destination, streaming each referenced file in the background.

Package
github.com/cs3org/reva/v3/pkg/ocm/embedded
Source
pkg/ocm/embedded · Go reference
Used by
ocmshareprovider

Overview

Package embedded transfers the contents of an OCM embedded share (an RO-Crate JSON payload listing plain or Zenodo files) to a WebDAV destination, streaming each referenced file in the background.

Configuration

KeyTypeDefaultDescription
webdav_urlstring-WebDAVURL is the destination WebDAV endpoint files are uploaded to. source
embedded_transfer_timeoutint3600Timeout is the per-file ceiling, in seconds. source
embedded_transfer_idle_timeoutint120IdleTimeout, in seconds, aborts a file attempt if no bytes flow for that long. source
embedded_transfer_retriesint3Retries is the number of attempts per file (1 = no retry). source