grive2 icon indicating copy to clipboard operation
grive2 copied to clipboard

Suggestion: upload multiple files at once

Open developomp opened this issue 5 years ago • 4 comments

Currently, grive appears to upload files one at a time and the next file in line has to wait until the previous one is uploaded. Make grive be able to upload multiple files at once and add a setting for how many files it can upload simultaneously (4 sounds like a reasonable default amount).

developomp avatar Nov 05 '20 10:11 developomp

I wonder if that's even possible. Even the official Window$ Client works on single file basis whatever it does.

rautamiekka avatar Nov 05 '20 15:11 rautamiekka

It's possible, but Google probably won't like it. They will probably throttle.

I don't think this is a good idea as even if Google didn't do anything on their end, Grive is set up to send 1 file at a time without a speed limit (unless you specify one), and Google accepts Google Drive files at a speed higher than most US ISPs allow for upload (I'm looking at you Comcast). Basically, for most people, Grive is going fast as it can and sending multiple files at once won't make a difference. It also is much more error-prone.

Tatsh avatar Nov 09 '20 07:11 Tatsh

Well, we can actually create a queue of multiple files that user wants to send to google drive. Then we send the files one by one, with a delay between each file so that Google doesn't see it as wrong or fishy activity.

kgrewal2 avatar Dec 21 '20 04:12 kgrewal2

They are not going to see it as fishy if it's just your own account under OAuth with your own app. They will still throttle. https://developers.google.com/drive/api/v3/handle-errors#resolve_a_403_error_daily_limit_exceeded

It wouldn't be such a bad idea to implement checking for daily limit and avoiding going over.

Tatsh avatar Dec 21 '20 08:12 Tatsh