117
...
</List>\r\n
The xml tag description
Parameter Value
Description
Name
(WorkGroup)
It's the work group name, up to 15 characters.
Name (Server) It's the PC name of the server, up to 63 characters.
Comment
(Server)
It's the description of the server, up to 256 characters.
SMB/CIFS SharedFolder command
Method: GET
URL:
http://<ip>/adm/smb_dirctrl.cgi?server=value[¶meter=value...]
Parameter Value
and
description
server
Server address, Up to 64 characters
path
Optional, depends on the parater “cmd”. The operation folder. Up
to 128 character
cmd
Optional, the valid value is:
mkdir: create a new folder,given by the “path” parameter.
rmdir: delete a folder,given by the “path” parameter.
If there is no this parameter, the CGI will survey the shared folder
list in the given url by default
need_rights
Optional, check the user rights for the folder, only for the survey
command. Regard as read rights without this parameter.
r: Have the read rights
w: Have the write rights
rw or wr: Have the Read and Write
user
Optional, the username to login the server
pass
Optional, the password to login the server
Return:
Successful request returns the result, case sensitivity; the <List> content will be responded only
when the status is ok.
HTTP/1.0 200 OK\r\n
…
Content-type: text/xml\r\n