Aha,
danke für die Hilfe und für die Aufklärung.
Ich dachte das es sich bei der URL:
| grep -oP 'https://www.shopware.com/de/Download/redirect/version/sw6/file/install_6.1.5_1585830011.zip'
|
um das Endresultat handelt. Dem ist es aber nicht so.
Hier das Ergebnis:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | example@hetzner:~/download$ curl -I https://www.shopware.com/de/Download/redirect/version/sw6/file/install_6.1.5_1585830011.zip
HTTP/1.1 302 Found
Date: Fri, 17 Apr 2020 06:35:34 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, no-cache, private
Pragma: no-cache
Set-Cookie: session-1=2e01dae3b67b9194b1c538b266f5ef478e537bd6fc9f3b59d6ba47d4c8105d1d; path=/; secure; HttpOnly
Set-Cookie: x-cache-context-hash=deleted; expires=Thu, 18-Apr-2019 06:35:33 GMT; Max-Age=0; path=/; httponly
Set-Cookie: nocache=deleted; expires=Thu, 18-Apr-2019 06:35:33 GMT; Max-Age=0; path=/; httponly
Upgrade: h2
Connection: Upgrade
Location: https://releases.shopware.com/sw6/install_6.1.5_1585830011.zip
Vary: User-Agent
Content-Type: text/html; charset=UTF-8
|
Dann kommt eins zum anderem.
Wusste auch nicht das CURL den redirect folgen kann.
Etwas dazu gelernt!!
Vielen Dank für die Hilfe.