locked
How to upload files to GDrive automatically from C# RRS feed

  • Question

  • Hello All,

    I need to upload my files automatically from a location through Task scheduler (C# application) to a G Drive account. I developed a console application in C#, but when i try upload, the G Drive takes me to the authorization page where i have to input my G Drive account password manually. Is there a way i can automate this ?

    Please suggest some references in C#

    Regards, Anbu.

    Friday, October 5, 2018 7:24 AM

Answers

  • Hi Anbu Varadhan,

    If GDrive is Google Drive, you could check the following document, which provide sample about how to upload file and authentication

    https://www.daimto.com/google-drive-api-c-upload/

    Best regards,

    Zhanglong


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 8, 2018 2:36 AM

All replies

  • Hello,

    Sorry, can't understand what is "G-Drive"...


    Sincerely, Highly skilled coding monkey.

    Friday, October 5, 2018 7:36 AM
  • Hi Anbu Varadhan,

    If GDrive is Google Drive, you could check the following document, which provide sample about how to upload file and authentication

    https://www.daimto.com/google-drive-api-c-upload/

    Best regards,

    Zhanglong


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 8, 2018 2:36 AM