Linksys WVC80N User Guide - Page 40

SMB/CIFS Server/SharedFolder Commands, SMB/CIFS Server Survey - cgi commands

Page 40 highlights

Appendix D CGI Commands SMB/CIFS Server/SharedFolder Commands SMB/CIFS Server Survey Method: GET URL: http:///adm/smb_survey.cgi[?parameter=value[¶meter=value...]] Parameter timeout action Value and description (Optional) The timeout in seconds of the CGI The CGI will stop surveying and return the result if it times out. Valid values: 5-120 (default is 30) (Optional) This CGI will terminate survey action. stop Return: The result will be returned in XML format (the content size depends on how many servers are in the network). A successful request returns the result of the Samba site survey as shown below (this is case sensitive): HTTP/1.0 200 OK\r\n ... Content-type: text/xml\r\n ... \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ... \r\n \r\n ... \r\n XML tag description: Parameter Name (WorkGroup) Name (Server) Comment (Server) Value and description The work group name (up to 15 characters) The PC name of the server (up tp 63 characters) The description of the server (up to 256 characters) Wireless-N Internet Home Monitoring Camera 39

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

Appendix D
CGI Commands
39
Wireless-N Internet Home Monitoring Camera
SMB/CIFS Server/SharedFolder Commands
SMB/CIFS Server Survey
Method:
GET
URL:
http://<ip>/adm/smb_survey.cgi[?parameter=value[&parameter=value...]]
Parameter
Value and description
timeout
(Optional) The timeout in seconds of the CGI
The CGI will stop surveying and return the result if it times out.
Valid values: 5-120 (default is 30)
action
(Optional) This CGI will terminate survey action.
stop
Return:
The result will be returned in XML format (the content size depends
on how
many
servers
are
in
the
network).
A
successful
request
returns
the
result
of
the Samba site survey as shown below (this is case sensitive):
HTTP/1.0 200 OK\r\n
Content-type: text/xml\r\n
...
\r\n
<?xml version=”1.0” encoding=”utf-8”?>\r\n
<List>\r\n
<WorkGroup>\r\n
<Name></Name>\r\n
<List>\r\n
<Server>\r\n
<Name></Name>\r\n
<Comment></Comment>\r\n
</Server>\r\n
...
</List>\r\n
</WorkGroup>\r\n
...
</List>\r\n
XML tag description:
Parameter
Value and description
Name (WorkGroup)
The work group name (up to 15 characters)
Name (Server)
The PC name of the server (up tp 63 characters)
Comment (Server)
The description of the server (up to 256 characters)