Google Drive SDK / c++ / Rest API resumable upload

风格不统一 提交于 2019-12-11 02:56:42

问题


I have seen discussion in internet about problems (or bugs in Google Drive SDK ) with resumable uploading to google Drive https://developers.google.com/drive/web/manage-uploads#resumable

and the problem with access_token when it expires after one hour ..

Is there a possibility now ( I understood there should be ) to refresh access token for this ongoing upload ?

I did the test implementation for this but it did not work, when I updated the refreshed access token?

but is this now bug in my code or google drive side ?


回答1:


If you abandon the library, and simply call the REST API directly, you can implement your own 401 error handling.

edit; see comments below which suggest that the problem is a bug which cannot be circumvented



来源:https://stackoverflow.com/questions/21301499/google-drive-sdk-c-rest-api-resumable-upload

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!