---
title: "Task loadingzone-get"
source: https://dev.pageseeder.com/guide/publishing/ant_api/tasks/task_loadingzone-get.html
description: "Task loadingzone-get downloads documents from a user's loading zone in PageSeeder. It requires a group name, destination folder, and file path(s), with optional subfolder preservation and configuration settings."
last_updated: 2026-08-11T16:27:58+10:00
tokens: ~474
---

# Task loadingzone-get

Used in upload processing scripts to download documents from the [loading zone](../../../../reference/glossary/loading_zone.md) for the current user in the specified [group](../../../../reference/glossary/group.md).

> **Note:** This task is available in PageSeeder v5.9200 and higher.

## Definition

```xml

<ps:loadingzone-get
    group="[groupname]"
    destination="[destination file]"
    path="[file path]"
    paths="[file path list]"
    config="[config name]" />
```

## Attributes

| **Attribute** | Description | Required | Default |
| --- | --- | --- | --- |
| **group** | The name of the group the Loading Zone is in | Yes |  |
| **destination** | The path of the folder where the file is to be downloaded, if it does not exist, it is created. If creation fails, an error is raised. | Yes |  |
| **path** | The path in the Loading Zone of the file to download (not URL encoded) | Yes, if no `paths` |  |
| **paths** | A pipe-separated list of paths in the Loading Zone of the files to download (not URL encoded) | Yes, if no `path` |  |
| **subfolders** | Whether to save files in the same subfolders as in the loading zone | No | `true` |
| **config** | Universal PS config name | No | `default` |

## Environment

This task uses the following [ps:config](task_config.md) environment properties:

- **scheme** – scheme for connecting to PageSeeder.
- **host** – host for connecting to PageSeeder.
- **port** – port for connecting to PageSeeder.
- **site.prefix** – site prefix for connecting to PageSeeder – default  /ps.
- **user.token** or **jsessionid** or **username/password** – access token or jsessionid or  username/password for connecting to PageSeeder.

## Examples

```xml

<ps:loadingzone-get
    group="${ps.config.default.group.name}"
    path=${ps.config.default.upload.path}"
    destination="${ps.config.default.working}/download" />
```

