Showing results for 
Search instead for 
Did you mean: 

To add a file into a folder for Google Drive

Go to solution

I try to upload a file into a folder in the Google Drive by adding 'Parents' in the code.

But I not able to link it. It keep give error saying class conflict.

Source code:







form the Google API page, I found that it have to add a lists with folder_id with it.



May I know how should I continue ?




0 Kudos
Message 1 of 2
Accepted by flim21

Hi Hahiho,

  From the screenshot you provided, I believe that the Google Drive Toolkit is not the one that is supported by NI. Therefore, I am very sorry to say that the resources I have to support you on this is limited. Becasue Google Drive's syncing process runs continuously and it is constantly scanning your shared folders, thus you might run into problems when trying to add/remove/change files in the pre-existing folders on the drive. However, I have a suggestion.

1. You can store a copy of project folder first on your local disk and alters the content on your computer before  reuploading it back to your account on drive. 

2. Pause Google Drive sync, add the files in and resume if after the process is done.

Why can not include google drive into build exe?

Gdrive for LabVIEW by National Instruments

I hope these asnwer your question

Fiona, NI

0 Kudos
Message 2 of 2