napr. pro txt soubory? Browser pak soubor spravne otevre misto nabidky k ulozeni.
$ curl -v https://nyx.cz/files/000/025/2573653_58540b24eb90930a762f/original.bin\?name\=chyby_startup.txt
* Trying 5.59.97.42:443...
* Connected to nyx.cz (5.59.97.42) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=nyx.cz
* start date: Jan 1 02:25:10 2023 GMT
* expire date: Apr 1 02:25:09 2023 GMT
* subjectAltName: host "nyx.cz" matched cert's "nyx.cz"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55de61e9d2c0)
> GET /files/000/025/2573653_58540b24eb90930a762f/original.bin?name=chyby_startup.txt HTTP/2
> Host: nyx.cz
> user-agent: curl/7.74.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 19 Jan 2023 09:23:09 GMT
< content-type: application/octet-stream
< content-length: 2746
< last-modified: Wed, 18 Jan 2023 22:46:18 GMT
< etag: "63c876ba-aba"
< content-disposition: inline; filename="chyby_startup.txt"
< accept-ranges: bytes
<
[ 0.322557] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
...