I wish to download the natural products from ZINC database (https://zinc.docking.org) with wget command:
wget 'https://zinc.docking.org/substances/subsets/natural-products.mol2?count=all'
but some message comes out before the download is finished:
--2020-03-21 09:44:41-- https://zinc.docking.org/substances/subsets/natural-products.mol2?count=all Resolving zinc.docking.org (zinc.docking.org)... 169.230.26.43 Connecting to zinc.docking.org (zinc.docking.org)|169.230.26.43|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [chemical/x-mol2] Saving to: ‘natural-products.mol2?count=all’ [ ] 743,110 10.5KB/s in 67s 2020-03-21 09:45:52 (10.8 KB/s) - Read error at byte 743110 (Success).Retrying. --2020-03-21 09:45:53-- (try: 2) https://zinc.docking.org/substances/subsets/natural-products.mol2?count=all Connecting to zinc.docking.org (zinc.docking.org)|169.230.26.43|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [chemical/x-mol2] Saving to: ‘natural-products.mol2?count=all’ [ ] 0 --.-K/s in 0s Cannot write to ‘natural-products.mol2?count=all’ (Success).
Only a small part of the expected file is downloaded. I have tried to add some options of wget such as "--timeout==", etc, but nothing works.
Then I try to use curl to download the file:
curl -O 'https://zinc.docking.org/substances/subsets/natural- products.mol2?count=all' > natural-products.mol2
This also downloads a small part of the expected file but gives an error information:
curl: (18) transfer closed with outstanding read data remaining
Is it caused by network failure or the library itself? Could you help me solve the problem and download the complete file? I will appreciate any help.