How can I just get the output name?

ToddAndMargo via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
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

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A computer without Microsoft is like
a chocolate cake without the mustard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
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.