> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/patchworks-services/service-systems/supported-service-systems/patchworks-sftp-service-connector/specifying-a-non-root-folder-as-the-file-location-services.md).

# Specifying a non-root folder as the file location (services)

## Introduction

By default, the root of the URL/host defined for the SFTP connector is assumed as the working folder for files.&#x20;

If required, you can specify an alternative folder for any services using this connector. To do this, follow the steps below.

## The steps

**Step 1**\
[Add your service in the usual way](/product-documentation/patchworks-services/working-with-services/adding-a-patchworks-service.md) and select the required entity to be synced. At this point, **source details** are shown.

**Step 2**\
Click the **use JSON editor** button to access the advanced editor - for example:&#x20;

<figure><img src="/files/MGVB0cEHhaqaWGIvumYZ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Access to the advanced editor is restricted. If you don't see this option but require access, please contact Patchworks support.&#x20;
{% endhint %}

**Step 3**\
Add the following line:

{% code lineNumbers="true" %}

```json
"remote_path":"xyz/",
```

{% endcode %}

...where **xyz** is the required folder name.

**Step 4**\
Complete the service setup in the normal way.
