# Syncthing # Syncthing

**Please make yourself aware of the [Ultra.cc Fair Usage Policy](https://ultra.cc/policies/terms-of-service#fair-usage).** Directly pointing Syncthing to sync your cloud storage will create extreme strain on your Slot's disk and could cause a 24-hour ban on accessing your cloud storage. Please Consider [Rsync](https://docs.ultra.cc/books/rsync/page/initial-setup) or [Rclone](https://docs.ultra.cc/books/rclone) with a reasonable limit on speed. Additionally, pointing Syncthing to an active download directory, enabling the `Watch for Changes` feature, or setting a higher scan interval than the default value, can very quickly result in a FUP warning. Take proper precautions while configuring Syncthing. **It is your responsibility to ensure usage is within acceptable limits. Ignorance is not an excuse.**

**Syncthing** is a free, open-source, peer-to-peer file synchronization application that's written in Go. It synchronizes files between two or more computers securely and seamlessly. For more information, follow [this link.](https://syncthing.net/) In this section, we'll be setting up Syncthing for the first time. For this guide, we'll assume you want to set up a folder on your Ultra.cc service as your "dropbox," which will be synced automatically to your Windows PC. ### Prerequisites - Download and install Syncthing on both your Ultra.cc service and the devices you prefer. You may refer to [Syncthing Downloads](https://syncthing.net/downloads/) to get which apps to use for your preferred platform. For this guide, we'll be installing [SyncTrazor](https://github.com/canton7/SyncTrayzor) along with Syncthing on the Ultra.cc service. - Login to your Ultra.cc service via [SSH](https://docs.ultra.cc/books/secure-shell-%28ssh%29/page/how-to-connect-to-your-ultracc-slot-via-ssh) and create a folder that will be used to sync data between your Ultra.cc service and your local machine. For this guide, we'll be creating a folder named `Syncthing`. Also, get the absolute path of the folder by doing `pwd` as shown below. ``` ultradocs@spica:~$ mkdir Syncthing ultradocs@spica:~$ ls bin Downloads files media openvpn Syncthing watch www ultradocs@spica:~$ cd Syncthing/ ultradocs@spica:~/Syncthing$ pwd /home20/ultradocs/Syncthing ```

Please be aware that if you are on a none `lwxxx` hostname server (e.g spica instead of lw822, lw900, etc). The absolute path should be used without numbers on the home directory. For example, `/home/username/Syncthing` instead of `/home20/username/Syncthing`

Do **NOT** attempt to mount your Rclone remote directly on your home directory. This will lead to instabilities. Instead, always create and use an empty folder within your home directory.

### Setting up Syncthing on Ultra.cc service - Upon installation and entering the set credentials, the `Allow Anonymous Usage Reporting?` window appears. Read over this and select if you agree with data reporting or not. - Click **Add folder** - Then enter the following information: ``` General Folder Label: {Any} Folder Path: {output of pwd} ``` - Click **Save** ### Setting up Sharing on the PC

Shown here is instructions for Windows using SyncTrazor, but it should be similar to all other devices that support Syncthing.

- Get the Slot's device ID by going to **Actions -> Show ID**. Copy the generated ID above. - Launch SyncTrazor, the `Allow Anonymous Usage Reporting?` window appears. Read over this and select if you agree with data reporting or not. - Then under `Remote Devices`, click **Add Remote Device** - Then enter the following information: ``` General Device ID: {Paste Slot Device ID here} Device Name: {can be blank} ``` ``` Sharing Auto accept: Checked ``` ``` Advanced Addresses: Listen Address of Syncthing as given in your Control Panel. Example: tcp://spica-direct.usbx.me:16812 Incoming Rate Limit (KiB/s): 20000 Outgoing Rate Limit (KiB/s): 20000 ``` - Click **Save** - Go back to your Syncthing Slot; you should see a **New Device** window. Confirm that it is indeed your device by checking the Device names and Device IDs shown and click **Add device**. - Then enter the following information. Once that's done, click **Save**. ``` General Device ID: {SyncTrazor Device ID here} Device Name: {automatically filled} ``` ``` Sharing Auto accept: Checked Share Folders with Device: {Check the folder you just created. In this case, Syncbox} ``` ``` Advanced: Device Limits Incoming Rate Limit (KiB/s): {optional} Outgoing Rate Limit (KiB/s): {optional} ``` - Your synced Slot folder will show up on SyncTrazor in `%HOMEPATH%`. For this case, it's in `%HOMEPATH%\Syncbox` - To sync files to and from your Slot, just copy/move files from your Slot/PC to `Syncbox`, and it will automatically sync.