Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

aligncenter

...

The Empty Container policy allows the user to control whether empty containers (folders) are included in the transfer. This includes folders with no content and/or folders with all content filtered out by specified filter criteria.

Option

Behavior

"empty_containers": "skip"

Do not transfer empty containers.

"empty_containers": "create"

Transfer empty containers.

Code Block
{
  "name":"Empty Container Policy",
  "kind": "transfer",
  "transfer": {
      "audit_level": "error",
      "transfer_type": "copy",
      "empty_containers": "skip",
      "source": {
        "connection": { "id": "{{cloud_connection_source}}" },
        "target":
        {"path":"/SourcePath"}
      },
      "destination": {
        "connection": { "id": "{{cloud_connection_destination}}" },
        "target": {
          "path": "/DestinationPath"
        }
      }
  },
  "schedule": {
    "mode": "manual"
  }
}