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.

How can I just get the output name?

From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 24 Mar 2024 05:41:09 -0700

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
Received on 2024-03-24