0

I wan't to upload file to institutions shared google drive. I am able to do it manually, however, when i try the command line:

gdrive upload -p 1LXnlsGtBX9K4UO*** file.txt

I get the following error: Failed to get file: googleapi: Error 404: File not found: 1LXnlsGtBX9K4UO***., notFound; While it works when i upload to my own google drive.

Is it the right way to upload to the shared google drive? I'm a "content manager" in this shared directory.

DaImTo
  • 88,623
  • 26
  • 153
  • 389
juststuck
  • 510
  • 4
  • 12
  • You appear to be using a third party [gdrive](https://github.com/prasmussen/gdrive) tool. I really dont think this is related to the Google-drive-api unless you can show us some code that you are using. You should contact the developer of the tool for support. – DaImTo Oct 05 '21 at 10:48
  • I thought it's an official app. But Indeed it's a known issue: https://github.com/prasmussen/gdrive/issues/560 Solution is to use this software instead: https://github.com/labbots/google-drive-upload – juststuck Oct 05 '21 at 11:08
  • Does this answer your question? [upload zip file to google drive using curl](https://stackoverflow.com/questions/45878753/upload-zip-file-to-google-drive-using-curl) – Martin Zeitler Oct 05 '21 at 12:16

0 Answers0