# Syncing from a Web Server
> Host your events on your own web server and sync them to Breeze Booth, with an optional password-protected POST method.
## About web server sync
You can sync events from your own web server. This could be a server in your office or one hosted by a third party. Using your own server gives you full control over how event files are stored and shared with your devices.
Set it up in **App Settings › [Integrations](https://www.breezesoftware.com/help/breeze-booth/integrations#event-server)**.
## Ways to sync
There are two ways to sync events from a website:
1. **HTTPS GET (default).** Breeze Booth downloads each file directly from your website. Upload the event files to a folder on your site, then enter that folder's URL in the **Events server** field.
2. **HTTPS POST (more secure).** Turn on **Use HTTPS POST when syncing** and set a password. You'll need a server-side script that accepts the request and checks the password before returning the file.
> **Info**
>
> The server must use HTTPS (`https://`), not `http://`.
## Folder structure
Your sync folder should look like this:
```
your-sync-folder/
├── settings.xml
└── assets/
└── My Event_AbC123/
├── event_info.xml
└── portrait/ (profile folder)
├── manifest.xml
├── settings.xml
├── ready.jpg
├── standby.jpg
├── overlay.png
├── ui.html
└── … every other file the profile uses
```
| File or folder | What it is |
|---|---|
| `settings.xml` (top level) | The device settings |
| `assets/` | One folder per event |
| `My Event_AbC123/` | The event folder: the event name, then its Breeze Cloud gallery ID |
| `event_info.xml` | The event's title, gallery ID, profiles and the manifests to download |
| Profile folder | One folder per profile, holding that profile's files. It's often named after the orientation, such as `portrait`, but it can be any name |
| `manifest.xml` | Lists every file in the profile folder with an MD5 checksum |
| `settings.xml` (in a profile folder) | The profile's settings |
### Device settings
Export the top-level `settings.xml` from [Device Settings](https://eventeditor.breezesoftware.com/app/settings/device-settings) in the Event Editor. Its sync settings look like this:
```xml
My iPad
https://yourdomain.com/events
false
...
```
> **Warning**
>
> The exported file can include passwords, sync codes and upload URLs. Remove anything you don't want public before putting it on a server, especially if you use HTTPS GET.
### Event files
Event folders can't be exported from Breeze Cloud yet. This is coming soon. In the meantime, you can sync events with Dropbox instead. See [Integrations](https://www.breezesoftware.com/help/breeze-booth/integrations#dropbox).
## POST request
With HTTPS POST turned on, Breeze Booth requests each file with these JSON-encoded parameters:
```json
{
"request": "download",
"password": "",
"id": "",
"name": "",
"model": "",
"Filename": ""
}
```
| Parameter | Description |
|---|---|
| `password` | The password set in the app settings |
| `id` | The device ID, shown at the bottom of the app settings screen |
| `name` | The device name, set in the iPad's **Settings › General › About** |
| `model` | The device model |
| `Filename` | The path of the file to download, relative to your sync folder |
Your script should check the password (and optionally the device ID), then return the requested file. If the check fails, return an error status such as `401`.
---
Source: https://www.breezesoftware.com/help/breeze-booth/syncing-from-a-web-server