Skip to main content

RemoteAltaFile

A class in Alta.IO, Alta.Utilities.

Remote-backed save file where the remote copy is another path on disk (a mounted or network folder). Used when the server starts with /remote_saves and a type other than s3.

Constructors​

MemberWhat it is
RemoteAltaFile(IAltaFile internalFile, FileInfo remoteFileInfo)Creates a RemoteAltaFile from internalFile and remoteFileInfo.

Methods​

MemberWhat it is
protected override void BackupInstantInternal()Copies the local file over the remote file, blocking.
protected override Task BackupToRemoteInternal()Runs the same copy on a background task.
protected override Task CopyFromRemoteInternal()Copies the remote file over the local file on a background task.