Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I was trying to make an update system using google drive, basically it would identify a file in google drive (ex: version.txt), and read the version of the file (ex: 1.0), in case the version was changed (ex: 1.1), it would download another file from my Google drive (ex: square.cs) and replace the original using the "file.replace" from "System.IO", but I couldn't do it. Could someone help me with the part where I download and check the file on google drive? I've problem with download file from google drive and verify. Only that.

What I have tried:

I dont have the code here, cuz I've deleted.
Posted
Updated 31-Mar-22 8:04am
Comments
Sean Ewington 1-Apr-22 15:58pm    
Thanks very much for your Question. We ask that on CodeProject, you post a clear, answerable question relevant to software development. In this case, your post does not contain enough information on how to answer your question. As such, your question has been removed. If would like to know more about how to post better questions on CodeProject, please email us at webmaster@codeproject.com.

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

Quote:
I dont have the code here, cuz I've deleted.
And if you think anyone will believe that, ...

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 
Comments
xuaugameplays 31-Mar-22 14:51pm    
...
Maciej Los 31-Mar-22 15:13pm    
Unfair downvote equalized!
Similar question has been asked years ago, but the answer seems to be still current.
See: How to download a file from Google Drive in c#[^]

I'd strongly suggest to read Google API documentation: Download files  |  Drive API  |  Google Developers[^]
 
Share this answer
 
Comments
xuaugameplays 31-Mar-22 14:51pm    
Ok, thx :)
Maciej Los 31-Mar-22 15:11pm    
You're very welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900