User Guide
Table Of Contents
- Cover
- Quick Installation Procedure
- Notices
- Table of Contents
- Product Overview
- Physical Description
- Installation
- Configuring the Video Server
- Using the Video Server
- Accessing your Surveillance Images
- Positional Control of the Video Sources
- The Log File
- PINGing Your IP Address
- Symptoms, Possible Causes and Remedial Actions
- Obtaining Updated Software
- Upgrading the Software
- The Physical Connector
- Camera Positioning
- CGI Parameters for Image Requests
- CGI Parameters for Pan Tilt and Zoom Control
- CGI Parameters for Preset Positions
- CGI Parameters for Serial Port Control
- Controlling and Monitoring
- Wizard Preconfigurations
- Client Applications
- Starting and Enabling the Editor
- Programming Script Format
- Commands
- Index

Appendix H-The Programming Script
AXIS 2400/2401 Administration Manual
72
Example 1
Example 2
Example 3
# This command will log in as "user" with the
# password "pass" on the host with the Internet
# address 123.123.123.123, download a hugesize
# image with the name "user.jpg" and put
# it in the directory "/home/user" on the remote
# host. During download, the file name "tmp.jpg"
# will be used.
* * * * * * :
ftp -host 123.123.123.123 -user user -pass pass
-src hugesize.jpg -dest /home/user/user.jpg -temp
tmp.jpg;
%
# This command will every hour, every five seconds
# for twenty minutes, download a fullsize image
# from camera 3 and save the images with a time
# stamp in the filename.
0 * * * * * :
ftp -host an.interesting.site -user user -pass pass -src fullsize.jpg
-dest tmp/full$h$m$s.jpg -loop s5 -time m20 -cam 3;
%
# This command will send 1001 consecutive fullsize
# images to "your.host.name". The first and last
# images will be named "fullsize1000.jpg" and
# "fullsize2000.jpg", respectively.
* * * * * * :
ftp -host your.host.name -user user -pass pass
-src fullsize.jpg -dest
/home/camera1/tmp/fullsize$r1000-2000.jpg;
%










