Settings in the personal account for the FTP server

Материал из SmartPlayer
Версия от 09:13, 13 марта 2024; N.Bloshkin (обсуждение | вклад) (Новая страница: «== '''Situation Description''' == In the SmartPlayer personal account, when working with the Smart folder, it's necessary to debug the reception of data and settings on the FTP server. To do this, one must understand which settings to use in the personal account and how they interact with the FTP server. == '''Operating Principle''' == For debugging data transfer settings to the FTP server, the user needs to locate them in the SmartPlayer platform's personal...»)

Situation Description

In the SmartPlayer personal account, when working with the Smart folder, it's necessary to debug the reception of data and settings on the FTP server. To do this, one must understand which settings to use in the personal account and how they interact with the FTP server.

Operating Principle

For debugging data transfer settings to the FTP server, the user needs to locate them in the SmartPlayer platform's personal account. In this case, the settings are specifically linked to the folder from which the content will be played, so they are located in the "Content" section.

Example of the "Content" section display in the personal account.

Within this section, it's necessary to select a specific folder and in the sidebar that opens on the left, choose the "Rules" category.

The option to add a rule to a folder.

Upon entering the "Rules" category, a small window will open in which you need to click on the "+" icon.

Example of the window for adding a rule.

After clicking on the "+" icon, a full window with a list of settings will open. In this window, it's necessary to scroll down to the "Network Folder Connection" section.

The window with network folder settings.

By enabling the use of a network folder with the checkbox, the following parameters can be specified (these parameters are stored by the SmartPlayer server):

  • Path to the network folder
  • Login
  • Password
  • Data refresh interval from the network folder
To ensure that the "Login" and "Password" parameters work correctly on the server, validation for the fields "networkFolderLogin" and "networkFolderPassword" was added. This validation is applicable only for the Smart folder.

Взаимодействие между устройством, личным кабинетом, сервером SmartPlayer и FTP-сервером

Все описанные выше параметры используются при "общении" между: устройством, личным кабинетом, сервером SmartPlayer и FTP-сервером. В данном случае эти параметры хранит в себе сервер SmartPlayer.
После заполнения параметров, описанных выше в личном кабинете, устройство использует прописанный параметр "Путь к сетевой папке". Данные этого параметра хранятся на сервере SmartPlayer и используются в качестве пути до FTP-сервера.
Следующим шагом FTP-сервер может потребовать авторизацию с помощью логина и пароля (процесс авторизации может быть опциональным). После проведения процесса авторизации, устройство получит доступ к FTP-серверу, с которого будет получать данные.
Данные будут обновляться по длительности интервала указанного, в параметре "Интервал обновления данных из сетевой папки".