Open Sbozzolo opened 2 days ago
@simone-silvestri is there a way we can use Base.downloads
? @Sbozzolo thinks so.
We should write a .netrc
file like they do in here:
https://github.com/evetion/SpaceLiDAR.jl/blob/688105ed50c71e9d8d02c52c7a83801da1728611/src/utils.jl#L122
I think there is also a way to create a downloader than can do this right? I'm looking at the documentation:
https://github.com/JuliaLang/Downloads.jl
Here's what the ECCO website says to do:
We aren't doing what they recommend though:
Still probably better to avoid cmd
.
Why do we use http-user
instead of user
?
Yes, I think you should be able to create a custom downloader that posts the user and the password as part of the request (but I have never done anything like this).
My guess is that it was removed with
wget2
, released in 2021.