> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/onboarding/claims/command-line-upload.md).

# Command-line upload

Copy files from a server straight into the claim storage, without going through a browser. Use it for very large files, or many files at once.

## Prerequisites

* The rights to manage claim files. See [Files](https://docs.stoik.io/onboarding/claims/files.md).
* One of these tools installed on the server: AWS CLI, AWS Tools for PowerShell, rclone or WinSCP.

## Get the command

{% stepper %}
{% step %}

### Open the command line option

In the claim's `Processing` tab, go to the `Data sharing` block, click **Upload**, then **Upload with a command line**.
{% endstep %}

{% step %}

### Choose your tool and system

Pick the tool installed on your server (`AWS CLI`, `AWS Tools for PowerShell`, `rclone` or `WinSCP`) and its system (`macOS / Linux` or `Windows PowerShell`).
{% endstep %}

{% step %}

### Copy and run the command

Copy the command with the copy button, then run it on the server from the folder that holds your files.
{% endstep %}

{% step %}

### Close the window

The files table reloads, and the files you sent appear in it.
{% endstep %}
{% endstepper %}

## Credentials in the command

* The command holds credentials limited to this claim.
* They are valid for one hour. The window shows until when.
* Once they expire, click **Regenerate** to get a new command. Files keep going to the same place.

{% hint style="warning" %}
Anyone holding the command can upload files to the claim until it expires. Do not share it outside the people who run the upload.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stoik.io/onboarding/claims/command-line-upload.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
