部分修改Google云端硬盘中的文档 [英] Partially editing a document in Google Drive

查看:497
本文介绍了部分修改Google云端硬盘中的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个关于大文件实时编辑的概念性问题。假设我们在Google云端硬盘中有一个50 MB的txt文件,我们希望允许用户进行编辑。我们要求用户在开始编辑之前下载整个文件(用户将需要等待一段时间,但这没关系)。用户然后更改50 Mb文本文件中的单个单词。我们如何才能更新Google云端硬盘中的文件,而无需上传所有50 Mb的文本。 如果您要创建Android应用程序, Google云端硬盘Android API 会在幕后处理这种差异上传。



如果您未使用Android API,则目前无法通过Drive RESTful API访问。


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.

解决方案

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.

这篇关于部分修改Google云端硬盘中的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆