DownloadClient
__init__
Initialises the basic settings for an DownloadClient object
Arguments: |
|
download_pfns
Download items with a given PFN. This function can only download files, no datasets.
Arguments: |
|
Raises: |
|
Returns: | a list of dictionaries with an entry for each file, containing the input options, the did, and the clientState clientState can be one of the following: ALREADY_DONE, DONE, FILE_NOT_FOUND, FAIL_VALIDATE, FAILED |
download_dids
Download items with given DIDs. This function can also download datasets and wildcarded DIDs.
Arguments: |
|
Raises: |
|
Returns: | a list of dictionaries with an entry for each file, containing the input options, the did, and the clientState |
download_from_metalink_file
Download items using a given metalink file.
Arguments: |
|
Raises: |
|
Returns: | a list of dictionaries with an entry for each file, containing the input options, the did, and the clientState |
download_aria2c
Uses aria2c to download the items with given DIDs. This function can also download datasets and wildcarded DIDs.
It only can download files that are available via https/davs. Aria2c needs to be installed and X509_USER_PROXY needs to be set!
Arguments: |
|
Raises: |
|
Returns: | a list of dictionaries with an entry for each file, containing the input options, the did, and the clientState |
preferred_impl
Finds the optimum protocol impl preferred by the client and
supported by the remote RSE.
Arguments: |
|
Raises: |
|