<PackageReference Include="Relativity.Server.Services.Interfaces.SDK" Version="5000.0.2" />

Relativity.Services.FileField.IFileFieldManager

public interface IFileFieldManager : IDisposable
Exposes the methods for downloading and uploading files linked to file fields.
Task<IKeplerStream> DownloadAsync(int workspaceID, RelativityObjectRef objectRef, FieldRef field)

Downloads a file.

Task<DynamicFileResponse[]> GetFilesForDynamicObjectsAsync(int workspaceID, int fileFieldArtifactID, int[] objectIDs)

Gets files for passed dynamic sourced objects ids.

Task<FileRef> UploadAsync(int workspaceID, FieldRef field, RelativityObjectRef objectRef, string fileName, IKeplerStream file)

Uploads a file and stores it to temporary storage.

Task<FileRef> UploadAsync(int workspaceID, FieldRef field, RelativityObjectRef objectRef, string fileName, IKeplerStream file, IProgress<ProgressReport> progress)

Uploads a file, stores it to temporary storage, and returns progress information.

Task<FileRef> UploadAsync(int workspaceID, FieldRef field, RelativityObjectRef objectRef, string fileName, IKeplerStream file, CancellationToken cancel, IProgress<ProgressReport> progress)

Uploads a file, stores it to temporary storage, provides a token used for canceling the operation, and returns progress information.