open-discussion > wget acpcdetect file from NitRC
Showing 1-2 of 2 posts
Display:
Results per page:
May 20, 2020  04:05 PM | adam2392 - JHU
wget acpcdetect file from NitRC
Hi I am working on a Docker container that uses acpcdetect on this page: nitrc.org/frs/?group_id=90

specifically, acpcdetect2.0.

I am trying to use `wget` to download the data, but I end up getting a 43KB file, and so I think this is because there is no web-page that actually performs the download.

I tried:



and I  get:


--2020-05-18 15:22:46-- https://www.nitrc.org/frs/download.php/1...
Resolving http://www.nitrc.org (www.nitrc.org)... 132.239.16.23
Connecting to http://www.nitrc.org (www.nitrc.org)|132.239.16.23|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /account/login.php?return_to=%2Ffrs%2Fdownload.php%2F10595%2Facpcdetect_v2.0_LinuxCentOS6.7.tar.gz&feedback=The+tool%2Fresource+administrator+has+requested+that+you+log+in+to+download+this+file. [following]
--2020-05-18 15:22:46-- https://www.nitrc.org/account/login.php?...
Reusing existing connection to http://www.nitrc.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'acpcdetect_v2.0_LinuxCentOS6.7.tar.gz.1'


acpcdetect_v2.0_LinuxCentOS6. [ <=> ] 39.65K 161KB/s in 0.2s

2020-05-18 15:22:47 (161 KB/s) - 'acpcdetect_v2.0_LinuxCentOS6.7.tar.gz.1' saved [40600]

I was wondering is there an easy way to wget from this site? Or documentation for that matter. Thanks!
May 20, 2020  04:05 PM | NITRC Moderator
RE: wget acpcdetect file from NitRC
NITRC allows tool providers to require users to log in to NITRC before downloading (which allows for better usage statistics than the simple download count NITRC provides by default). The redirect you're seeing is NITRC prompting you to log in; allowing direct download would mean allowing violating the policy when it is in force.

I would recommend you contact the software developers to see the best way to allow automatically building your container while still supporting whatever prompted that policy. NITRC can certainly help if you need a technical solution, such as providing a second point of download.