The Alarm Menu :: FTP
param.cgi?cmd=setftpattr
Function | Set FTP Server Parameter |
---|---|
Authority | admin |
Parameter | aname: |
ft_server : FTP Server Address | |
ft_port :FTP Server Port | |
ft_username : FTP Username | |
ft_password :FTP Password | |
ft_mode :FTP Mode Port (0) or Passive (1) | |
ft_dirname :FTP Directory | |
ft_dirmode : 0 (Create a new Folder every Day), 1 (All Files in One Directory) | |
Return | Success, Error |
Example | GET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=getftpattr |
SET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=setftpattr&-ft_server=192.168.178.1&-ft_port=21&-ft_username=ftpuser&-ft_password=password&-ft_mode=1&-ft_dirname=./camera&-ft_autocreatedir=1&-ft_dirmode=0 |
param.cgi?cmd=testftp
Function | Test FTP Parameter |
---|---|
Authority | admin |
Parameter | 0 : (successful) |
-1 (unknown error) | |
-2 (no connection to server) | |
-3 (username or password error) | |
-4 (path error) | |
Return | Success, Error |
Example | GET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=testsmtp |