Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9209927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:57:34+00:00 2026-06-18T00:57:34+00:00

Google documents. I need edit a document with puplic link in c#. Is there

  • 0

Google documents. I need edit a document with puplic link in c#. Is there anyway?

FileStream fs = FileStream("C:\*****.jpg", FileMode.Open); 
DocumentEntry entry2 = service.Update(new Uri(strAlternateUriComesFromServer), fs, "text/plain", null) as DocumentEntry; 

This code giving error. How can i edit public document.

i got only shared document link and i need to update it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:57:35+00:00Added an answer on June 18, 2026 at 12:57 am

    If you know the document name or resourceID, and that document is shared with you, and you have the proper read/write access (ACL), you shouldn’t have any problem updating the resource.

    Normally updating a document with Google Documents API goes something like this:

    1. Get the DocumentEntry for the document. You can construct a DocumentQuery to find the target document based on certain search parameters. See the documentation here: Google Documents List API 3.0

    2. Get the download URL from the DocumentEntry object and download the document to your PC. Downloading is optional if you’re not interested in modifying the original content and just want to upload and overwrite the contents with something you have made locally.

    3. Edit the document and update (upload) it to Google Docs. Documentation for Updating. Specifically, look at the section called “Updating document or file content with the resumable protocol.” You must use the ResumableUploader when uploading anything to Docs now.

    Edit to add:
    Try to get the DocumentEntry from the public link using the method below:

    // Public Link contains the resourceID
    // example:  https://docs.google.com/file/d/097iZigwrANhGTElvZDdCVmlZNzQ/edit
    // resourceID:  097iZigwrANhGTElvZDdCVmlZNzQ
    // Get Your Document Entry
    
    string editUri = "http://docs.google.com/feeds/documents/private/full/%3A" + resourceID;
    DocumentEntry docEntry = (DocumentEntry)service.Get(editUri); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to edit word documents/spreedsheets like it happens in Google docs . Can
Are there any plans to deprecate Google Documents List API in nearest future? I
I wanna upload/update file by System.IO.FileStream in Google Documents List API(C#)? I use two
I need to replace a string in certain documents. I have googled this code,
I am making app about google documents. but I don't know How to save
I'm trying to connect to google documents (following Marco Cantu's excellent REST example) but
By using the following tool oAuth Playground , and following the documentation Google Documents
Although Google Docs documents seem to have a unique ID in the URL, I'm
I tried to create a new folder following the instructions at https://developers.google.com/google-apps/documents-list/#creating_a_new_document_or_file_with_metadata_only instead of
What are the urls to create new documents in google docs or google drive?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.