Your offline link to download x-pack is broken on https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html#xpack-package-installation
The link points to "https://https//artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.1.1.zip"
Regards
Kim