oss_open()

Read(479) Label: 连接,

Description:

Connect to the OSS service.

Syntax:

oss_open(AccessKey,SecretKey,url)

Note:

External library function (See External Library Guide).

 

The function connects to the OSS service.

Parameter:

AccessKey

Access key ID for accessing OSS

SecretKey

The secret access key for accessing OSS

url

The URL for accessing OSS

Return value:

Connection object

Example:

 

A

 

1

=oss_open("LTAI5tRgzSpjU73Wt","4dNAtbcjF6arKp26JGaytM","http://oss-cn-beijing.aliyuncs.com")

Create an OSS connection.

2

>oss_close(A1)

Close the OSS connection.