curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: How can I just get the output name?

From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 26 Mar 2024 07:18:21 -0700

On 3/24/24 05:41, ToddAndMargo via curl-users wrote:
> Hi All,
>
> Firefox CliGet gives me this when I click on a particular
> download link:
>
> curl --header 'Host: dl.duosecurity.com'
> ...
> 'https://dl.duosecurity.com/duo-win-login-latest.exe'
> --output 'duo-win-login-4.3.0.exe'
>
> All I want is the "duo-win-login-4.3.0.exe" text.
> Using cURL, is there a way to get?
>
> Many thanks,
> -T
>

Figured it out for that site (only). Their checksum
page gives the latest version away:

https://duo.com/docs/checksums#duo-windows-logon
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-03-26