FTP synchronization for interactive advertisements

An interactive advertisement can keep its data files up to date by synchronizing them from an FTP server directly to the player.

Synchronization is configured in the Media library section for interactive advertisement files: select the file and open the Synchronization tab.

To add synchronization parameters, click Add URL, fill in the parameters in the dialog, click Add, then click Save changes. You can add several addresses, edit and delete them.

Parameters

  • URL — the address of the server the files are synchronized from, for example ftp://user:password@ftp.example.com:21/test/some_path/

  • Destination — a path relative to the content folder on the player. The content lives in %userprofile%\AppData\Local\Cityscreen\CSPlayer\screen\files. If you set the destination to video, the files from the server are downloaded into %userprofile%\AppData\Local\Cityscreen\CSPlayer\screen\files{ad_dir}\video. May be left empty.

  • Synchronize folder — synchronizes only the files located in the specified folder on the server; subfolders are not synchronized.

  • Synchronize recursively — synchronizes both files and subfolders.

  • atomic synchronization mode — all new files are downloaded first, then all of them are replaced on the player at once.

  • progressive synchronization mode — files are downloaded and replaced one by one.

Path placeholders

When the following keys are used in the paths, the player substitutes its own parameters for them:

  • %display_address% — the screen address, set on the screen metadata page

  • %display_id% — the screen id

  • %display_lat% — the geographic latitude of the screen

  • %display_long% — the geographic longitude of the screen

  • %display_resolution_width% — the screen width in pixels

  • %display_resolution_height% — the screen height in pixels

  • %display_placement_type% — the screen placement type, set in the screen metadata: indoor/outdoor

  • %display_installation_type% — the screen installation type, set in the screen parameters: static/mobile

  • %display_criteria% — the screen criteria. All criteria attached to the screen itself are inserted comma-separated