SetFtp.cgi

Description

Configure FTP for sending motion-detected images. (administrator privilege required)

Grammar

/SetFtp.cgi?Enable=<true|false>[&FtpServer=sServer][&User=sUserName][&Pass=sPassword][&Account=sAccount][&UploadPath=sPathName][&RedirectUrl=sUrl]

Remark

Parameters:

Enable - true, upload motion-detected images, false, do not upload motion-detected images;
FtpServer - ftp server address;
User - user name on ftp server;
Pass - password for logining FtpServer;
Account - account for logining FtpServer (few ftp servers require this infomation);
UploadPath - path in which images saved on FtpServer;

When calling SetFtp.cgi, the omitted parameters keep the last value, expect that omitting "Enbale" means "Enable=false".
Visit /GetFtp.cgi to get the current settings.

Example

<html>
<form action=/SetFtp.cgi>
<table>
<tr><td>Ftp Server</td><td><input name=FtpServer size=32></td></tr>
<tr><td>User</td><td><input name=User size=32></td></tr>
<tr><td>Password</td><td><input type=password name=Pass size=32></td></tr>
<tr><td>Account</td><td><input name=Account size=32></td></tr>
<tr><td>Upload Path</td><td><input name=UploadPath size=32></td></tr>
<tr>
<td>Upload when motion detected</td>
<td>
<input name=Enable type=radio value=true>Yes
<input name=Enable type=radio value=false>No
</td>
</tr>
</table>
<p><p>
<input type=submit value=OK>
</form>
</html>