Toshiba Toshiba Manual Do Utilizador
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
44
3.4 FTP
Server
Settings
wbsetnwkftpserver.cgi
3.4.1 Syntax
1) http://<camip>/api/wbsetnwkftpserver.cgi?type=Default
2) http://<camip>/api/wbsetnwkftpserver.cgi?type=Set[&Mode=<value>][&LoginID=<value>][&...]
2) http://<camip>/api/wbsetnwkftpserver.cgi?type=Set[&Mode=<value>][&LoginID=<value>][&...]
3.4.2 Input
Item
Type
Entry name
Entry value
Std.val
Unit
Reset to Default
type=Default
-
-
-
-
FTP function
Mode
1:OFF 2:ON
1
-
Login name
LoginID
any (max.32 bytes)
root
-
Password Password
any
(max.32
bytes)
ikwb
-
Max simultaneous connections
type=Set
MaxConnection 1-10
1
-
Log output control of cgi common to all types
OpeLog
No/Yes [default: Yes] (omissible)
-
-
3.4.3 Output
Code
Status
Code
Status
Code
Status
20 OK
32
InvalidValue
92
CriticalError
30 InvalidType
33
InvalidOperand
31 InvalidEntry 34
NoEntryData
3.4.4 Example
1) http://10.1.0.1/api/wbsetnwkftpserver.cgi?type=Default
2) http://10.1.0.1/api/wbsetnwkftpserver.cgi?type=Set&Mode=2&LoginID=<base64enc>&Password=<base64enc>&MaxConnection=5
2) http://10.1.0.1/api/wbsetnwkftpserver.cgi?type=Set&Mode=2&LoginID=<base64enc>&Password=<base64enc>&MaxConnection=5
3.4.5 Notes
1) If only type=<value> is entered and then <entry>=<value> is not entered, no setting is performed. (type=Default is an exception.)
2) Multiple
2) Multiple
type=<value> cannot be enumerated simultaneously. This API must be started for each type.
3) When LoginID/Password is specified at type=Server-1/2, these must be base64-encoded.
4) When a blank character is included in <value>, it must be URL-encoded.
5) For only entered item, setting is performed. For the other items, their existing values are held.
6) When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.
4) When a blank character is included in <value>, it must be URL-encoded.
5) For only entered item, setting is performed. For the other items, their existing values are held.
6) When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.