Supported commands
F-2 Appendix F: SAILOR VSAT – cURL commands 98-148248-C
Events only DOWNLOAD:
curl -O -J --cookie ./acucookie -d "events="
"http://[acu_ip]/c?pageID=download&type=api"
F.2.3 Statistic download
Last 10 minutes
curl -O -J --cookie ./acucookie -d "action=stat_day" -d
"period=10" "http://[acu_ip]/c?pageID=download&type=api"
Last hour
curl -O -J --cookie ./acucookie -d "action=stat_day" -d
"period=60" "http://[acu_ip]/c?pageID=download&type=api"
Last 20 hours
curl -O -J --cookie ./acucookie -d "action=stat_day" -d
"period=1200" "http://[acu_ip]/c?pageID=download&type=api"
Day report
curl -O -J --cookie ./acucookie -d "dl_interval=24"
"http://[acu_ip]/c?pageID=download&type=stat"
Week report
curl -O -J --cookie ./acucookie -d "dl_interval=168"
"http://[acu_ip]/c?pageID=download&type=stat"
Month report
curl -O -J --cookie ./acucookie -d "dl_interval=720"
"http://[acu_ip]/c?pageID=download&type=stat"
F.2.4 Upload software
Upload SW tiif image
The software file (1.tiif) must be in the same folder as the cURL binary.
curl --cookie ./acucookie --http1.0 --header "Content-Type:
multipart/form-data" -F "file=@acu.tiif"
"http://[acu_ip]/c?pageId=upload&ftype=tiif"