Max Ferguson
Max Ferguson

Reputation: 676

Partially editing a document in Google Drive

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.

Upvotes: 2

Views: 601

Answers (2)

pinoyyid
pinoyyid

Reputation: 22306

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.

Upvotes: 0

Dan McGrath
Dan McGrath

Reputation: 42018

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.

Upvotes: 1

Related Questions