# Configure file transfer to a server

To configure remote file transfer for an RD Session Host, Provider, or Remote PC, do the following:

1. In the Parallels RAS Console, select the **Farm** category and then select a desired server type (RD Session Host, Provider, Remote PCs) in the middle pane.
2. Right-click a desired server in the right pane and choose **Properties**.
3. Select the **Agent Settings** tab.
4. Select the **Allow file transfer command** option and click the **Configure** button. A dialog opens where you can specify remote file transfer options as described below.
5. In the **Direction** drop-down list, select one of the following:
   * **Client to server only**: Transfer files from client to server only.
   * **Server to client only**: Transfer files from server to client only.
   * **Bidirectional**: Transfer files in both directions.
6. In the **Location** field, specify a UNC path to a folder to be used as the default upload location. This path will also be used as the default source location when a user tries to download a file from a remote server. You can select from one of the locations predefined in the drop-down list or you can specify your own. Standard Windows environment variables, such %USERNAME%, %USERDOMAIN%, %USERPROFILE%, can be used. If the location is not found during an upload or download operation, the standard (default) download location will be used.
7. The **Do not allow to change location** option prohibits the user to change the UNC path specified in the **Location** field. If the option is enabled, the user cannot select a different location while trying to upload or download a file. If the option is cleared, the user can specify a different location.

{% hint style="warning" %}
**Important:** Please note that the **Do not allow to change location** option cannot prevent the user from accessing the specified remote location directly. For example, a user can try to upload a file, note the default location's UNC path (to which he/she has access), then open it in File Explorer and copy it to any folder in his/her profile. To prevent such a scenario from happening, you need to implement additional measures to control locations other than the location that you specify here.
{% endhint %}


---

# 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.parallels.com/landing/ras-admin-guide/v19-en-us/parallels-ras-19-administrators-guide/user-device-management-and-client-policies/configuring-remote-file-transfer/configure-file-transfer-to-a-server.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.
