# Upload + download data

This page provides simple Python scripts for uploading and downloading data to and from UltiHash using our S3-compatible API. They make use of multithreading for optimal performance. Whether you’re pushing a folder to a bucket or retrieving one locally, these scripts make it easy to get started. For more complex workflows, check out the full-featured SDKs available via [AWS Developer Tools](https://aws.amazon.com/products/developer-tools).

## Uploading Data

`uh_upload.py` : <https://github.com/UltiHash/scripts/tree/main/boto3/multithread_upload>

```python
# Example: Upload a folder to a bucket on UltiHash
python3 uh_upload.py --url <https://ultihash> --bucket mybucket folder/

```

## Downloading Data

`uh_download.py` : <https://github.com/UltiHash/scripts/tree/main/boto3/multithread_download>

```python
# Example: Download a bucket from UltiHash
python3 uh_download.py --url <https://ultihash> --path local-folder mybucket

```

These scripts provide a straightforward way to interact with UltiHash storage using the S3-compatible API. For more advanced scenarios, refer to the comprehensive SDKs available at [AWS Developer Tools](https://aws.amazon.com/developer/tools/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ultihash.io/operations/upload-+-download-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
