Partially editing a document in Google Drive

最后都变了- 提交于 2019-12-24 05:13:25

问题


This is a conceptual question regarding the realtime editing of large files. Imagine we have a 50 Mb txt file in Google Drive that we want to allow users to edit. We require that the user downloads the entire file before they start editing (The user will have to wait for a while, but this is ok). The user then changes a single word in the 50 Mb text file. How can we possibly update the file in Google Drive without uploading all 50 Mb of text.


回答1:


If you are creating an Android application, the Google Drive Android API handles this differential upload for you behind the scenes.

If you are not using the Android API, it is not currently possible via the Drive RESTful API.




回答2:


You say the files are "txt" which suggests they are not Google docs. Drive considers all such files to be blobs. so I can't see anyway they can be patched.



来源:https://stackoverflow.com/questions/30006464/partially-editing-a-document-in-google-drive

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