1080p CGI Commands

The Features Menu

The FTP Overlay

param.cgi?cmd=getftpattr

FunctionGet INSTAR Cloud Server Parameter
Authorityadmin
Parameter
  • 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_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.178.88/param.cgi?cmd=getftpattr
  • GET: http://192.168.178.88/param.cgi?cmd=getftpattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/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

FunctionGet FTP Server Parameter
Authorityadmin
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.178.88/param.cgi?cmd=get_instar_admin&-index=31
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=31&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/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

FunctionGet Test FTP Server Parameter
Authorityadmin
Parameter Result:
  • -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.178.88/param.cgi?cmd=testftp
  • GET: http://192.168.178.88/param.cgi?cmd=testftp&-usr=admin&-pwd=instar

Verwandte Themen:

Mehr