GDC Archive Access
Download access to the GDC data repository is provided by HTTP (https://igs.bkg.bund.de/root_ftp/) and anonymous-only FTP (ftp://igs-ftp.bkg.bund.de/). As the FTP protocol has many security weaknesses we encourage you to use the HTTPS protocol for downloading files.There are many tools available that support these protocols, e.g.
- lftp (Linux, MacOS, Windows (with PowerShell and external package manager, such as Chocolatey)): A great tool that supports many protocols (not only FTP!), with wildcard support.
- wget (Windows Powershell, Linux, MacOS)
- curl (Windows Powershell, Linux, MacOS)
The mentioned 3 tools support reading of credentials from ~/.netrc, see netrc.html.
Examples:
Downloads
- Download single file
wget https://igs.bkg.bund.de/root_ftp/EUREF/obs/2020/004/ACOR00ESP_R_20200040000_01D_EN.rnx.gz
curl -O https://igs.bkg.bund.de/root_ftp/EUREF/obs/2020/004/ACOR00ESP_R_20200040000_01D_EN.rnx.gz
- Download multiple files
Using Bash syntax:
wget https://igs.bkg.bund.de/root_ftp/EUREF/obs/2020/004/ACOR00ESP_R_20200040000_01D_{E,G,R}N.rnx.gz
Using wildcards:
lftp -e 'mget -c https://igs.bkg.bund.de/root_ftp/EUREF/obs/2020/004/ACOR00ESP_R_20200040000_01D_?N.rnx.gz; exit'
or
lftp -u user -e 'mget <project>/obs/2018/325/PVOG00GRC*; exit' https://igs.bkg.bund.de/root_ftp/
- Mirror remote directory to local directory, thus keeping the local directory synchronized with the remote
one
lftp -e "mirror -c --only-existing; exit" https://igs.bkg.bund.de/root_ftp/IGS/reports/
"mirror" has many useful options, see manpage, e.g.:
--only-existing download only files already existing at local target
-I GP include matching files by glob pattern GP
Directory listings
-
lftp -e "cls -l; exit" https://igs.bkg.bund.de/root_ftp/IGS/reports 2>/dev/null | grep CHECK*
Listing for all ACOR* files:
wget -q -nH -nd https://igs.bkg.bund.de/root_ftp/EUREF/obs/2020/004/ -O - | grep ACOR | cut -f8 -d\"
Our REST API is still under development and not suitable for external usage yet.