Closed tiborsimko closed 4 years ago
Example record to support in this issue: 5500.
The "harder" use case of recrord 1 with index files was separated into issue #25.
Documenting here the options to test the download files functionality
I will be going ahead with these options and check the time taken in downloading and if they are compatible with Python 2 and 3 both.
@tiborsimko Can you please provide a recid
with large files. Total maybe around (5 gigs). I will test with 5500
first.
@tiborsimko Can you please provide a recid with large files. Total maybe around (5 gigs). I will test with 5500 first.
If a user wishes to download files belonging to a record, the current technique is to list file locations:
and then launch
wget
orcurl
commands to download them.The goal of this issue is to simplify this process by introducing new command
download-files
that would do this for the user.Possible options:
This would launch two parallel downloading processes, using a suitable Python library, to download the files into current directory.
P.S.: MVP is simply to download files; resuming interrupted downloads will be part of another issue, but it is good to think about this functionality upfront.
P.S. An option
--target-directory
could be introduced which would recreate directory structure known from the original record. This will be important for AOD files which have subdirectory structure such as this one. So the corresponding subdirectories would have to be created in the target directory.