The Features Menu :: FTP
param.cgi?cmd=getftpattr
Get INSTAR Cloud Server Parameter
ft_server
: FTP Server Addressft_port
: FTP Server Portft_username
: FTP Usernameft_password
: FTP Passwordft_mode
: FTP Mode Port (0) or Passive (1)ft_dirname
: FTP Directoryft_autocreatedir
: Automatically create the directory 0 (no), 1 (yes)ft_dirmode
: 0 (Create a new Folder every Day), 1 (All Files in One Directory)ft_ssl
: FTPS Encryption - 0:None, 1:SSL, 2: TLS
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getftpattr
GET: http://192.168.2.168/param.cgi?cmd=getftpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setftpattr&-ft_server=192.168.178.1&-ft_port=21&-ft_username=ftpuser&-ft_password=123456&-ft_mode=1&-ft_dirname=.%2F&-ft_autocreatedir=1&-ft_dirmode=1&-ft_ssl=0
param.cgi?cmd=get_instar_admin&-index=31
Function | Get FTP Server Parameter
admin_value31
: "[FTP Server];[FTP User Name];[FTP User Password];[FTP Mode];[FTP Directory];[Auto Create Directory];[FTP Directory Mode];[FTP SSL]", e.g "192.168.178.1;21;ftpuser;1234;1;./Kamera;1;0;0";
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=get_instar_admin&-index=31
GET: http://192.168.2.168/param.cgi?cmd=get_instar_admin&-index=31&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=set_instar_admin&-index=31&-value=192.168.178.1%3B21%3Bftpuser%3B1234%3B1%3B.%2F%3B1%3B0%3B0
param.cgi?cmd=testftp
Function | Get Test FTP Server Parameter
chn
: 1st, 2nd or 3rd audio channel: 1, 2, 3Result
: -0:succeed, -1: unknown error, -2: no connection to server, -3: username or password error, -4: path error, -5: no connection to server
Example
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=testftp
GET: http://192.168.2.168/param.cgi?cmd=testftp&-usr=admin&-pwd=instar