Re: Writing to google drive
Why would you write to Google Drive? Why not simply create a text file and upload it?
Re: Writing to google drive
Well that is what I meant. Create a file and save to drive. I will need to be able to update the file. So I was thinking: retrieve file if it exists...add new line...save and upload...delete temp file that was downloaded. I need to have the google drive id number though. I am not sure how to find this on a newly uploaded file that was done programatically.
Re: Writing to google drive
Well again, why retrieve it? Keep a local copy, amend that, upload to overwrite the Google Drive copy.
Re: Writing to google drive
Ok I see. I have the backend finished that pulls historical data from database. It creates a text file with the appropriate data. I just need to upload it to the drive now. I have zero experience uploading to drive. It appears I need to install google drive api into vb as a first step? Is this correct? Is there no way to do something like a web request to post a file? thanks, Victor.
Re: Writing to google drive
First stop should have been the online SDK - https://developers.google.com/drive/
Then the next thing you should click is the appropriate link under the "Five minute quick start - Choose your language" header... one of which is .NET...
It will tell you how to:
Step 1: Enable the Drive API
Step 2: Install the Google Client Library
Step 3: Set up the sample
Step 4: Run the sample
-tg
Re: Writing to google drive
Victor,
I hope you got the help you needed. Now maybe you can help me. I am trying to read from Google drive in my vb.net program. Do you have any example code to do it?