Re: How can I just get the output name?

ToddAndMargo via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.