Appendix C - PHP3 Script Examples
This script will upload these specified sequential images
via FTP and the Ethernet interface. The uploaded images
will be ordered in a structure defined by their date.
Edit your own parameters below this line.
<?
$buffer_prefix = "SNAP";
$sources = "1";
$image_format = "fullsize";
$delay = 2000;
$file_format = "snapshot";
$ftp_server = "10.13.9.130";
$port = "21";
$user = "user";
$pass = "pass";
$passive_mode = "no";
$destination = "upload/2400";
$time = 60;
Axis Communications AB does not provide 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 0.9 May 2001
(seq_ftp_net_structured.php3)
// The prefix of the name
//of the buffer(s) started
// The index of the name(s)
//of the buffer(s) started
// The format of the images
//specified to be taken
//according to the HTTP-API
// Delay between images
//taken
// The name to be given to
//the local file, excluding
//the extension
// The server to upload to
// The port to connect to
// The user to login as
// The pass to use for the
//user
// Choose passive mode on
//("yes") or off ("no").
//(See documentation on FTP
//protocol)
// The path to append to
//all uploads. This path
//must exist on the server
//prior to upload.
// The time, in seconds, to
//stay in this script. A
//value of -1 means
//indefinetly.
50
Need help?
Do you have a question about the 2400 - PHP3 GUIDE and is the answer not in the manual?
Questions and answers