Open
Description
I've had success with resuming uploads using (as was suggested in a previous question that I asked):
UploadSessionStartAsync
UploadSessionAppendV2Async
UploadSessionFinishAsync
Is the means to resume a download similar? or even possible?
I can download using code such as:
using (DropboxClient dbx = GetAccessToken([myaccesstoken]))
{
using (var response = await dbx.Files.DownloadAsync("/" + file))
{
using (var fileStream = File.Create(localFilePath))
{
form1.Debuginfo += $"3\r\n";
(await response.GetContentAsStreamAsync()).CopyTo(fileStream);
}
}
}
I then copy it to a file and that works okay.
Could you offer any pointers on how I might resume such a download in the event of a newtwork failure?
I'd expect to have to get a session ID. That leads me to believe that I'd need to create some sort of session for it.
Any direction is greatly appreciated
Steve