IFileTransferService
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Relativity.Transfer.Http
{
internal interface IFileTransferService : IDisposable
{
void Login();
Task RemoveTempFile(int workspaceId, string fileGuid, CancellationToken token);
Task<TransferPathResult> UploadAsync(TransferPath path, CancellationToken token, IProgress<LargeFileProgressEventArgs> progress);
Task<TransferPathResult> DownloadAsync(TransferPath path, CancellationToken token, IProgress<LargeFileProgressEventArgs> progress);
Task<string> GetDiskSpaceReportAsync(int workspaceId, CancellationToken token);
}
}