Relativity.Services.FileField.IFileFieldManager
Exposes the methods for downloading and uploading files linked to file fields.
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.