repfiledelivery repnum server-type online-detect t rt username server-path port
Configure delivery of file-based reports to a remote SSH/FTP/CTM Manager server.
File-based reports can be delivered to one of the following server types:
- SSH server
- FTP server
- CTM Manager server using web services.
repnum = 1 to 999 | report number
|
server-type | 0 = disabled, 1 = SSH server, 2 = CTM Manager/web services, 3 = FTP, 4 = CCM/web services
|
online-detect | 0 = disabled, 1 = detect Cellular or Wifi online, 2 = detect Wifi online only
|
t = 1 to 65535 | file upload time period (secs) (0=disabled)
|
rt = 1 to 65535 | file upload retry period if uploads fail (secs) (0=disabled)
|
username | SSH/FTP login username, set to none if not required.
|
password | SSH/FTP login password if required, set to none if not required
|
server-path | URL/IP of the destination SSH or CTM Manager ssh server host
|
port | remote server TCP/IP port number, usually 22 for SSH, 8080 for CTM Manager
|
Note:
- All gpscond and iocond reports configured to use file-based reporting must use the file-based reporting configuration from General Report 1 (cmd repfilename 1, cmd repfiledelivery 1).
- If multiple GPS and IO conditions are defined they are still written to ONE file defined by (cmd repfilename 1, cmd repfiledelivery 1).
Examples:
- Configure file delivery for report 1 using SSH:
cmd repfiledelivery 1 1 0 60 10 report none 199.199.199.99:~/reports 4222
- Configure file delivery to a CTM Manager web service using wifi connectivity only:
cmd repfiledelivery 1 2 2 300 10 none none http://tracking.myvue.ca 8080
- Configure file delivery to a FTP server:
cmd repfiledelivery 1 3 1 300 10 cypress guest ftp://ftp.cypress.bc.ca 21
Note: For firmware revisions earlier than version 4281
repfiledelivery n t rt username server-path port
Deliver file based reports to an SSH server via SCP.
n = 1 to 999 | report number
|
t = 1 to 65535 | file upload time period (secs) (0=disabled)
|
rt = 1 to 65535 | file upload retry period if uploads fail (secs) (0=disabled)
|
username | ssh username
|
server-path | ssh server host:path definition
|
port | ssh server TCP/IP port number, usually 22
|
Note:
- All gpscond and iocond reports configured to use file-based reporting must use the file-based reporting configuration from General Report 1 (cmd repfilename 1, cmd repfiledelivery 1).
Examples:
- Set file delivery for report 1 :
cmd repfiledelivery 1 60 10 report 199.199.199.99:~/reports 4222
See also: File Based Reports