[]
        
(Showing Draft Content)

C1.Web.Api.Storage.CloudStorage.AWSStorage

AWSStorage Class

AWS cloud storage

Inheritance
AWSStorage
Namespace: C1.Web.Api.Storage.CloudStorage
Assembly: C1.Web.Api.Cloud.dll
Syntax
public class AWSStorage : ICloudStorage, IFileStorage, IStorage

Constructors

Name Description
AWSStorage(string, string, AmazonS3Client)

Constructor AWSStorage

AWSStorage(string, string, string, string, AmazonS3Config)

Constructor AWSStorage

Properties

Name Description
Exists

Exists property

Name

File Name

Path

File Path

ReadOnly

ReadOnly property

Methods

Name Description
CreateFolder()

Create new folder with the specified path

Delete()

Deletes the file with the specified path.

List()

Gets all files and folders within the specified path.

MoveFile()

Move files from current path to destination path

Read()

Gets the file with the specified path.

Write(Stream)

Uploads file with the specified path.