Reputation: 5459
I am developing a web application in C#.net. I need to edit a file placed on the server in browser it self(Without downloading it on local machine) and when I save that file, the changes should be reflected in file. For this I want to use google API but I don't know how can I use this. I want to do like below.
How can I do all this thing with google doc API?
Upvotes: 0
Views: 2196
Reputation: 39277
Install Google Drive on your server.
Edit the file in Google docs, let Google Drive sync it to the local hard drive.
Upvotes: 1
Reputation: 10773
You can embed a google doc in Webpages. But the file would be accessed and saved on Google's servers and not your company server: Wordpress allows you to do it. Potentially you can see if it possible to do it in a similar way: http://en.support.wordpress.com/google-docs/
I am not sure if Google has an option of accessing docs from servers outside google's domain.
Upvotes: 0
Reputation: 408
It is not possible for HTTP protocol, because the basics system doesn;t support it. You can open the file but the file will be downloaded to your local machine in then it will open, you have to specify the MIME type in IIS.
You can use two ways to do a similar job done.
1 By Using FTP
2 Customized solution : Make a page put a text field and load the file (.cs) in it and with submit save it to the file back.
Upvotes: 0