-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Team Drive Support #260
Comments
+1 this would be very useful. |
+1 please add the feature |
+1 for this feature |
+1 for this too |
+1 would greatly appreciate this feature |
seems this project is no longer actively maintained. has anyone found a solution for programmatically sending files to a Team Drive? |
Looks like its part of the v3 API: https://developers.google.com/drive/v3/reference/teamdrives |
Also would love to use gdrive with Team Drives, getting the same errors as people above: Failed to get file: googleapi: Error 404: File not found: id., notFound where id is my team drive folder ID. https://developers.google.com/drive/api/v3/enable-teamdrives |
Maybe we could use this as an alternative? |
for python developers, that could indeed be quite handy. however, i would
expect a command line interface to be provided by another project in order
to call it a replacement or alternative to gdrive.
…On Thu, Jun 21, 2018 at 12:34 PM, Muhannad Ajjan (INACTIVE) < ***@***.***> wrote:
Maybe we could use this as an alternative?
https://github.com/gsuitedevs/PyDrive
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWiMwp7vaauNEnlQyEWp63nWv4XhmDGks5t--dPgaJpZM4MFEsh>
.
|
I just added support for team drives in petrpulc@99488f9 (see #409 ) |
So I've downloaded v2.1.0 - how do I access my team drive? Nothing in the help text indicates what I need to do.... |
@mattb98 try to download my version from https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9 The only change it brings right now, is that it marks the requests as Team-drive-compatible. Proceed as I usually do: open the google drive in browser, locate the item ids to manipulate with (last segment of URL) and use them in |
How do I use the team id's with it? |
The team drive object IDs are handled the same way as any other object IDs. Assume that the file on team drive has ID |
I am using the linux system and would like to download the team drive-compatible version of gdrive, could you point to me which version exactly it is as there are many in the link you provided? Thanks |
The version is dependent on your platform. On a "regular" and recent PC/Laptop use |
@petrpulc lifesaver, thanks man! |
Is there any way I can upload directly to team drive? |
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL |
Can you give me an example for the command I'm typing? |
|
"Failed to get file: googleapi: Error 404: File not found" |
I tried to reinstall again and I got this error: root@97498:~# drive |
Do you have the version that is compiled with team drive support? I have such version available for most of the platforms on https://github.com/petrpulc/gdrive |
Yes, I've installed the linux 64x for my Ubuntu 16 and got this error:
|
It looks like you saved the webpage with "preview" of google drive while downloading the |
And are you sure you have ARM processor in your machine? |
Oh, that's one stupid mistake lol, I'm trying to download it but it keeps installing as HTML, when I press download it just downloads on the PC I'm using, can you give me a link to the Linux x64?
No, since x64 didn't work I was just trying ARM |
https://drive.google.com/open?id=1iIjBty1FKxdGvyc4GATngwgbzQdPYz2p Just click the download button... ARM version will not work on Intel or AMD CPUs because of a different instruction set. And, BTW, this is an issue that discusses new feature, not a way how to get gdrive on your particular machine. Please, next time try to: 1) Read, 2) Think, 3) Try, 4) Try again, 5) And only if nothing works and you tried everything, ask. Following such procedure will be much appreciated. |
Hi, Cheers for the gdive-"program"! I have installed gdive via. LINUX (command line) on my seedbox (seedhost.eu). I took the x64 Linux file from: https://github.com/gdrive-org/gdrive#downloads I got the token accepted, and I tried to "fool around" to learn the commands. I can upload files and directorys from my seedbox to my google drive without problems, even sepcifying a specific folder in google drive, and not only place the uploads in the root of my google drive. However (and sorry for the long story up to now) I am not able to upload stuff to my "Team Drive" on the google drive. When I write: gdrive upload -r Testfolder -p folder-ID (a folder inside my personale google drive) When I write: gdrive upload -r Testfolder -p folder-ID (a folder I just made inside my team drive) Then it reports an error (i am sorry I can't provide the exact lyrics about the error, but I am away from my personel computer with putty installed) It seems that gdrive doesn't have acces to my team drive, and when I write: gdrive list Then the list only shows the folders and files inside my personel google drive. Any thoughts what is wrong? As I have understanded, the gdrive was not able to handle team drive, but this was added in v3 of gdrive, but now it is also added in the 2.1 version, which is the one I have downloaded on the link here over(?) Again thanks for all the hard work provided to us LINUX noobs ;o) |
To do that, you need to use a version compiled with a team drive support, not this version. If you have read this thread prior to asking, you would get a link do my version that has team drive support. TLDR: Try to use version form here: https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9 The changes are available in pull request: #409 |
Aaaaaaah.. Sorry! I have actually read the whote thread, and also some other threads around on the web. Somewhere I came to the understanding, that everything (at some point) had been compiled into the version in my link.. ("One version to rule them all") Well that makes sense then. (Now I also understand why Mohammed2277 have problems: The link from my link can be used directly in the command line program in Linux.. Where the link you are providing to the other version has a "download button" which we can't direct link to inside the command line (might be because the downloadbutton changes link, so that other persons can't deeplink directly to it).. But we should just download the file you link to, rename it to "gdrive", upload it to the root of our seedbox/LINUX system, and then follow the tutorial we already used, including creating a token to grant access, and then it should work.) Thank you! Will try it later, when I am back at my personel computer and putty. |
Oh, yes, it should be like that, but this repository does not sadly include the merge requests as quickly as it should. And as for the links, sorry for my laziness, passing a link to a Google Drive folder is much easier than linking all versions individually... |
You deserve a bit of laziness! |
Alas the files at https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9 appear to have been banned by google - 'Sign in with Google temporarily disabled for this app' Workarounds involve recompiling it which really isn't an option in this case. |
I am aware of that, this is sadly caused by a rather new change to Google APIs, will try to authorize the app in next week. EDIT: sorry, had no time to do so :( |
I use @petrpulc commit, but changed two things:
here is the commits: Elbandi/gdrive@06e9562...Elbandi:ff5def1a5ec210cd6e09a0f845710c6ab08ac3a3 |
did you remove download file of gdrive-linux-x64 version? i can download other platform files but only get 404 when i open download link of gdrive-linux-x64. |
No (check https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9), but I suppose that the compiled version is way too outdated now. |
you are right. it has been outdated. it is a pity :( |
Hi
Can we use gdrive with team drives ?
I've done a test but it not see my main folder
Thanks
The text was updated successfully, but these errors were encountered: