Hi,
I understand I can use upload sessions to upload large files. That is: call Upload Session Start, then Upload Session Append and finally Upload Session Finish.
My question: is it possible to query what is the current offset taking only the session id?
The scenario is: application calls Upload Session Start, saves (persists) the session id, calls several times Upload Session Append.
Then the application exits (either by user request or by a failure).
The application starts again, takes the saved session id and tries to continue the upload (with Upload Session Append).
However it seems there is no way to query what is the current offset.
Possible solutions are: persist the current offset together with the serssion id.
Or call Append with an invalid offset (eg 0), it returns the `UploadSessionOffsetError` error with the correct offset.
Is it ok to rely on the UploadSessionOffsetError?