Skip to main content

Can I use Alarm Task Script for JPEG post to FTP every 30 minutes?

Related Products

All IP encoders


Question

Can I use Alarm Task Script for JPEG post to FTP every 30 minutes?

Answer

Copy/ Paste this example into the alarm task editor and save.  See comments below for more details, annotated by //.

// Settings for JPEG posting
JpegPosting PicPosting := { IP( "put ftp FQDN servername or IP here" ) Login( "anonymous" ) Password( "anonymous" ) Format( Large ) FileName( "Snap" ) Suffix( Date ) Camera( All ) };


// Define Operation Mode to periodic, 15min low and 0.1 second high
OperationMode periodic := { Low(18000) High(1) };

//define logic
TempState(1):=periodic;
if(true) then TempState(1);

if (TempState(1)) then PicPosting;





JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.