Build a C# .NET Console App to Upload Multiple Files to Google Drive Using Service Account

Поділитися
Вставка
  • Опубліковано 1 лип 2023
  • Buy the full source code of the application here:
    procodestore.com/index.php/pr...
    Hi Join the official discord server to resolve doubts here:
    / discord
    Visit my Online Free Media Tool Website
    freemediatools.com/
    Buy Premium Scripts and Apps Here:
    procodestore.com/
    Welcome Folks My name is Gautam and Welcome to Coding Shiksha a Place for All Programmers. You can learn Web Development and Programming Tutorials.
    Donate to Our UA-cam Channel at :
    www.instamojo.com/@geekygauta...
    Subscribe for more Videos: / @codingshiksha
    Watch next -
    [Popular Videos on the Channel]
    [Login with Google Account using Javascript]
    • Login With Google Acco...
    [What is AJAX and How it Works | Short Tutorial for Beginners]
    • What is AJAX and How i...
    [Javascript Fetch Api Example]
    • Javascript Fetch Api E...
    [jsPDF Tutorial | PDF Library in Javascript]
    • jspdf tutorial
    [UA-cam Data API V3 App in 1 Hour]
    • UA-cam Data v3 API Ap...
    [AngularJS CRUD Application]
    • AngularJS CRUD Applica...
    [Uploading Files using Google Drive Api]
    • Google Drive API V3 - ...
    Recommended Playlist -
    [Build a CRUD Applicaiton in VUE and Firebase]
    • Build a CRUD Applicati...
    [MongoDB Tutorial for Absolute Beginners]
    • Video
    [Building a Playlist Search App using UA-cam Data Api v3]
    • Video
    [Secure Login System in PHP & MYSQL]
    • How to make a login/re...
    [Real Time Chatting App in Socket.io and Express]
    • socket.io chat app usi...

КОМЕНТАРІ • 21

  • @dannyfernandezalvarado8388
    @dannyfernandezalvarado8388 11 місяців тому +3

    It works, maybe you would like to know a couple of important things:
    1. You have to grant access to the service account to write in the folder.
    2. You always have to create a folder, this means you cannot save files in the root folder of the drive. Not at least what this tutorial covers.
    But no more than that, thanks a lot, worked for what I needed.

  • @user-dx3cb3bk3v
    @user-dx3cb3bk3v 11 місяців тому +4

    Sir Code is Running without error but file not reflected in google drive

  • @naeimsaifi1251
    @naeimsaifi1251 11 місяців тому +2

    how you solve this error System.InvalidOperationException: 'Error creating credential from JSON or JSON parameters. Unrecognized credential type .'

    • @dannyfernandezalvarado8388
      @dannyfernandezalvarado8388 11 місяців тому +1

      I think he just added the filename, but the FileStream couldn't find it as it wasn't the correct file path. What I tried was to provide there correct Path building it this way:
      var credentialPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, credentialFileName);
      Previously I just added the file to the root folder of the solution, then: Right click > Properties > Change the Copy to Output Directory property to Copy Always

  • @shaiwaltripathi8619
    @shaiwaltripathi8619 6 місяців тому

    Just 1 Question...
    Why have you waisted so much time in writing codes if you had to copy paste from notepad in the end? 🤔

  • @priskosusanto9001
    @priskosusanto9001 Рік тому

    How to you solve error json parameter?

  • @gkmishra2009
    @gkmishra2009 Рік тому +1

    Could you please make video on below question in DOT NET.I got this in an interview
    Diffrence between Abstract Class and Concreate class
    Difference between Finalize Method and Finalize block
    Diffrent type of Garbage Collection method
    how to handle Exception using Middleware in Dot Net core
    Exposing Entity will create problem in Entity Framework How we handle it
    How we validate Entity in Entity Framework
    Two Interface have same method how we implement and call?
    without using loop how we do bulk insert and update in sql server?
    how map the data from model to database table if the column are diffrent?
    how map data from list to model using linq query?
    how join two table using linq?
    how join two list using linq?
    what happen if action parameter not matched with any method?
    what is scope of a classs object?
    how garbage collector know which objects needs to be deleted?
    Entity framework -model mapping and how many type of model

    • @Aman-x5g
      @Aman-x5g 9 місяців тому

      How much experience do you have?

  • @Aman-x5g
    @Aman-x5g 8 місяців тому

    You are using services account or oauth?

  • @parassharma7041
    @parassharma7041 Рік тому

    You work on every language?

  • @anshuvishwakarma6020
    @anshuvishwakarma6020 8 місяців тому

    Suppose I have to share this file to 100 of computer and every computer has unique email id it is not possible to manually manage credentials file I want if everyone want to upload any file then ask there username and password for authentication and get access to upload file directly on drive

  • @Aman-x5g
    @Aman-x5g 8 місяців тому +1

    Scouce code?

    • @CodingShiksha
      @CodingShiksha  8 місяців тому

      Link is given in description you can buy the full source code

  • @faizanaeem1682
    @faizanaeem1682 6 місяців тому +1

    where is source code?

    • @CodingShiksha
      @CodingShiksha  6 місяців тому

      You can buy the full source code of application link is given in description of video

    • @faizanaeem1682
      @faizanaeem1682 6 місяців тому +1

      @@CodingShiksha how much we have to pay?

  • @-02dmytrokotenko49
    @-02dmytrokotenko49 8 місяців тому

    I did everything as shown in the video, but for some reason my json file looks like this:
    {
    "type": "x",
    "project_id": "x",
    "private_key_id": "x",
    "private_key": "x",
    "client_email": "x",
    "client_id": "x",
    "auth_uri": "x",
    "token_uri": "x",
    "auth_provider_x509_cert_url": "x",
    "client_x509_cert_url": "x",
    "universe_domain": "x"
    }
    what could go wrong?🥲