-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to resume a download that fails due to a network failure or similar #125
Comments
The Dropbox API v2 .NET SDK unfortunately doesn't offer resumable downloads like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. |
Thanks @greg-db |
Thanks for the context @IamSierraCharlie ! By the way, for reference, while this isn't available in the SDK, the Dropbox API itself does support "Range Retrieval Requests" on "content-download style" endpoints, such as /2/files/download. That's a way to request only a certain portion of a file, and is likely what we would use to implement this feature request in the SDK, if/when we do so. If it's important for your app, you could consider implementing that directly against the HTTPS endpoints, outside of the SDK functionality. |
Thanks for your diection @greg-db |
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:
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
The text was updated successfully, but these errors were encountered: