Skip to main content

S3CloudStorageRemoteFile

A class in Alta.IO, Alta.Utilities.

Remote-backed save file stored as an S3 object. Used when the server starts with /remote_saves s3 bucket:path.

Constructors​

MemberWhat it is
S3CloudStorageRemoteFile(IAltaFile internalFile, S3StorageFile remoteFileInfo)Creates a S3CloudStorageRemoteFile from internalFile and remoteFileInfo.

Methods​

MemberWhat it is
protected override Task BackupToRemoteInternal()Uploads the local file to the S3 object on a background task.
protected override Task CopyFromRemoteInternal()Downloads the S3 object over the local file on a background task.