
60
www.dericam.com
Shenzhen Dericam Technology Co,.Ltd
Example
/cgi-bin/hi3510/param.cgi?cmd=setftpattr&-ft_server=220.112.14.173
&-ft_port=21&-ft_username=FTPUsername&-ft_password=FTPPasswo
rd&-
ft_dirname =Program Files&-ft_mode=1
testftp
Function
Test the FTP setting.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=testftp]
Param.
None
Return
result
Return value:
0: Success.
-1: Unknow error.
-2: Can not connect the FTP server.
-3: Username and password do not match.
-4: The storage path is error.
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=testftp
13. SMTP
getsmtpattr
Function
Get the SMTP setting.
Privilege
admin
Usage
/cgi-bin/hi3510/param.cgi[?cmd=getsmtpattr]
Param.
None
Return
ma_server
SMTP server address.
ma_port
Server port.
ma_ssl
Authentication link:
0: None.
1: SSL.
2: TLS.
3: STARTTLS.
ma_logintype
Whether to enable the check of authentication:
1: Enable