Hi, I have a C# Winform application which upload a text document in my Google Documents account.
This part works fine. But, I have the following questions: 1/ I need to push a new version of this file. If I use the following code : DocumentEntry newEntry = service.UploadDocument(file, fileName.ToLower ()); A new file is uploaded. Is there a way to replace the previous automatically (file has the same name) ? 2/ To replace, the previous, I try to delete the file before sending the new one. To do this task, I try to find my doc and delete it : DocumentsListQuery query = new DocumentsListQuery(); DocumentsFeed feed = service.Query(query); foreach (DocumentEntry entry in feed.Entries) { if (entry.Title.Text == thetittleofthefilesent) { entry.Delete(); } } } The document is found and the Delete function is called. But the document is always visible in the section "All items". If the document is moved to a folder. The delete action removes the document from the folder, but it stays visible in the "all items" section. So, how to remove or send to trash the document ? 3/ last question : how to move a file (using the C# api) to a specified folder ? Thanks in advance, Olivier Anguenot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---