Axis 24HUM Administration Manual page 74

Table of Contents

Advertisement

72
Appendix H-The Programming Script
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;
%
AXIS 2400/2401 Administration Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

24002401

Table of Contents