© 2013 SpinetiX S.A. All rights reserved.
16
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Spinetix.com/NONSGML Spinetix Control Center//EN
BEGIN:VEVENT
UID:14d64d53-a926-4a71-848d-c78452b195fe
DTSTART:20080722T200000
DTEND:20080722T210000
URL: http://demo.spinetix.com/project/default/publish.xml
SUMMARY:publish
RRULE:FREQ=DAILY;WKST=SU
END:VEVENT
END:VCALENDAR
Upload action
The upload action enables copying of files from the device to a remote server using pull
mode. No modifications are done on the player. This is typically used to upload logs from
the player to a centralized server.
This action uses the following fields:
Title = upload
Location = URI of the server where files should be uploaded. By default pull
mode uses the PUT command to upload files.
Description: options and/or list of files to be uploaded.
Each line of the description corresponds to a file to be uploaded. In this case the
syntax is the following:
<file_name> [destination_name]:
Will upload the file file_name to the server, using destination_name. If no
destination name is provided, the default formatting will be used (see the -format
specification)
The following shortcut/options can be used:
-format: specify the format to be used to write the file to the server.
The following syntax can be used:
%s : serial number of the HMP
%d : date of the upload
%h : time of the upload
%D : modification date of the uploaded file
%H : modification time of the uploaded file
%n : name of the source
%x : extension of the source
The default format of uploaded files is "%n-%s-%d-%h.%x"
-method <post|put>: select the upload method. By default a PUT is used.
-snapshot: upload a snapshot. By default the name of the snapshot will be
"snapshot-%s-%d-%h.jpg"
-log <name>: (need firmware 3.0.0)
Upload one specific log. All logs can be uploaded using this solution,
i.e. using -log warn.log will upload http://localhost/log/warn.log.
System logs (syslog) can be uploaded using -log syslog.
Player info logs http://localhost/info can be uploaded using -log info
-logs: upload all logs from the previous day. Pull Mode retains a history of
uploaded logs and will make sure all logs from the past are
uploaded. Note that at most 7 days of logs are kept inside the
player.