# 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](https://doc.wearepatchworks.com/product-documentation/patchworks-services/working-with-services/adding-a-patchworks-service) 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="https://content.gitbook.com/content/5mpqoXPMbUuPa8JpCLWe/blobs/ZQlBdlGtt4lqGVBYX5i1/sftp%20editor.png" 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.
