Axis 2401 - PHP3 GUIDE Informacje Techniczne Strona 76

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 75
Shell Script Examples
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 76
6.2.3 Example 3 – Sequential Upload via FTP
When input 0 goes high, this script will, for 10 seconds, upload images via FTP, at 2 second
intervals. The uploaded images can be named by specifying a suffix. These can be date,
incremental sequence number or limited sequence (overwrites files when maximum is reached).
The following variables defined in the config file of the camera are used in this script:
# --- General camera parameters ---
# The index of the name(s) of the buffer(s) started
sources="1"
# The format of the images specified to be taken according to HTTP-API
image_format="fullsize"
# The name to be given to the local file, excluding the extension
file_format="snapshot"
# Delay between image taken
delay=2000
# The time in seconds to stay in the script. A value of -1 means
# indefinitely
time=10
# The type of the suffix to use on the uploaded files. Either "date" for
# datum or "sequence" for an index limited by $countermax or
# sequenced_max" for an index up to the internal maximum integer
suffix="sequenced_max"
# Define the maximum value of the counter
counter_max=200
# --- FTP parameters ---
# The server to upload to
ftp_server="10.13.9.210"
# The port to connect to
port=21
# The user to login as
user=user
# The pass to use for the user
pass=pass
# Choose passive mode on ("yes") or off ("no") (See documentation on
# FTP protocol)
passive_mode="no"
# The path to append to all uploads. This path must exist on the
# server prior to upload
destination="upload/2400test"
#!/bin/mish
PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Read the config file
. /etc/applications/config_$1
# Read the optional config file
if [ -e /etc/applications/pre_config_$1 ]; then
. /etc/applications/pre_config_$1
fi
The script itself:
Przeglądanie stron 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 84 85

Komentarze do niniejszej Instrukcji

Brak uwag

Roland SC-880 manuals

Owner’s manuals and user’s guides for CD players Roland SC-880.
We providing pdf manuals Roland SC-880 for download free by document types:






More products and manuals for CD players Roland

Models Document Type
MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner's Manual   Roland MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner`s manual, 16 pages
MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner's Manual   Roland MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner`s manual, 140 pages
CD-2e User Manual   Mode d`emploi - Roland Central Europe, 140 pages
MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner's Manual   Roland MICRO BR BOSS DIGITAL RECORDER MICRO BR Owner`s manual, 7 pages
CD-2e User Manual   CD-2u/SD-2u Brochure, 16 pages
UA-4FX User Manual   À lire avant toute chose, 16 pages
Fantom-X8 User Manual   Fantom-X Brochure, 4 pages
Fantom-X8 User Manual   Fantom-X Workshop Series - American Musical Supply, 21 pages
Fantom-X8 Owner's Manual   Roland Fantom-X8 Owner`s manual, 33 pages
X-7 Owner's Manual   Roland X-7 Owner`s manual, 84 pages
Fantom-X8 Specifications   Roland Fantom-X8 Specifications, 60 pages
MICRO BR BOSS DIGITAL RECORDER MICRO BR User Manual   BOSS MICRO BR TurboStart, 2 pages
CD-5 User Manual   JV-1k Supl.Notes, 4 pages
Fantom-X8 Owner's Manual   Roland Fantom-X8 Owner`s manual, 16 pages
CD-2i User Manual   Quick Start, 2 pages
CD-2 User Manual   CD-2_AD1, 1 pages
CD-2e Owner's Manual   Roland CD-2e Owner`s manual, 132 pages
CDR-88RW-4 Owner's Manual   Roland CDR-88RW-4 Owner`s manual, 12 pages
CD-2 User Manual   Customers using the Roland R-1 The CD-2 is compatible with the R-1, 1 pages