TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)

3.4FTP Server Settings

wbsetnwkftpserver.cgi

3.4.1Syntax

1)http://<camip>/api/wbsetnwkftpserver.cgi?type=Default

2)http://<camip>/api/wbsetnwkftpserver.cgi?type=Set[&Mode=<value>][&LoginID=<value>][&...]

3.4.2Input

Item

Type

Entry name

Entry value

Std.val

Unit

Reset to Default

type=Default

-

-

-

-

FTP function

type=Set

Mode

1:OFF 2:ON

1

-

Login name

 

LoginID

any (max.32 bytes)

root

-

Password

 

Password

any (max.32 bytes)

ikwb

-

Max simultaneous connections

 

MaxConnection

1-10

1

-

Log output control of cgi common to all types

OpeLog

No/Yes [default: Yes] (omissible)

-

-

3.4.3Output

Code

Status

20

OK

30InvalidType

31InvalidEntry

Code

Status

32InvalidValue

33InvalidOperand

34NoEntryData

Code

Status

92

CriticalError

3.4.4Example

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

3.4.5Notes

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 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.

©TOSHIBA Corp.

44

Page 49
Image 49
Toshiba Toshiba manual Wbsetnwkftpserver.cgi