wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.33k stars 350 forks source link

Download ended without completion #248

Open ZachL1 opened 1 year ago

ZachL1 commented 1 year ago

Provide environment information

Sorry, I can't execute these commands because I'm a Windows user. I just installed gdown just now using pip, so I think this should be the latest release:

>>> gdown.__version__
'4.6.4'

What OS are you using?

windows

Describe the Bug

I'm downloading a folder, but I see from stdout that many files are not downloaded to 100% before starting to download the next file. And finally the download was interrupted. image

Expected Behavior

I expect all files in the folder to be downloaded normally. On the other hand, I wonder if I re-execute the download command, will the already existing files be skipped? Will those that have been partially downloaded but not fully downloaded be re-downloaded?

One more question, the README says that the folder can contain up to 50 files, and the folder I downloaded exceeds 50 files, but I don't see any hints in the stdout, so I wonder if the current version still has this limitation?

To Reproduce

Just download this link, this is a public folder:

gdown https://drive.google.com/drive/u/0/folders/15lTH5osZzZlDpcW7oXfR_2t8TNssNARS -O ./ --folder
wkentaro commented 1 year ago

One more question, the README says that the folder can contain up to 50 files, and the folder I downloaded exceeds 50 files, but I don't see any hints in the stdout, so I wonder if the current version still has this limitation?

As long as each of your folder has less than 50 files/folders, that would be fine. Your folders are fairly structured not to have many files/folders in a single folder, so that's why it won't raise errors.

wkentaro commented 1 year ago

I expect all files in the folder to be downloaded normally.

This is kind of api limit from Google drive, so Gdown cannot do almost any thing.

On the other hand, I wonder if I re-execute the download command, will the already existing files be skipped?

Currently, such feature is not yet supported, (when you download a single file it does), so if you can open a feature proposal, that would help to push getting it done.