Справочник Пользователя для Pelco C1553M-B

Скачать
Страница из 258
C1553M-B (4/05)
247
EDIT AN FTP SITE
1. Navigate the Object Browser to [project name] > FTP Sites. In the right pane, double-click the FTP site you want to change, or right-click the 
FTP site and select Edit from the pop-up menu. The Properties dialog box opens.
 
Figure 273.  Edit FTP Site Properties Dialog Box
3. Click OK. The Properties dialog box closes.
WRITE AN FTP SCRIPT
THE FTP COMMAND
The action of capturing and uploading an image to an FTP site is controlled through the FTP script command. The syntax of the FTP statement is:
FTP [window tag], [camera tag], [preset tag], [delay], [FTP site tag], “[file name]”
Briefly, VMX300(-E) interprets the FTP statement as follows: Switch the camera to the custom window and move the camera to the preset. When 
the delay time has elapsed, capture the window’s video. Upload the captured image to the FTP server, saving it under the specified file name.
Window:  The window must have the correct canvas defined for it. Refer to Clients, Custom Windows, and Canvases - Canvases for more 
information. If the client that the window is defined on is running but the window is closed, VMX300(-E) automatically opens the window when 
the FTP statement executes.
Preset:  Sending the camera to a preset is optional. If you want to omit the preset, either enter NoPreset, or omit the preset. For example, the 
following FTP statements are equivalent and valid:
FTP Window1, ReceptionCamera, NoPreset, 1, Corway_Web_Site, “reception.jpg”
FTP Window1, ReceptionCamera, , 1, Corway_Web_Site, “reception.jpg”
Note that, if you omit NoPreset, you still need to include the comma, so the camera tag is followed by two commas.
Delay:  The intent of the delay is to give the camera time to move to the preset before taking the capture. Make sure the delay is long enough to 
allow the camera to reach the preset. The delay is in seconds. A delay of zero seconds is valid. Use a zero second delay when no preset is 
specified.
TIP:  It is recommended that you define only one canvas for any window you are using for FTP image capture. If you need to capture more 
than one type of video, create a window for each type.