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 do I read this download button?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 24 Jul 2023 13:32:03 -0700
On Mon, Jul 24, 2023 at 01:25:28PM -0700, ToddAndMargo via curl-users wrote:
> I am not sure what that gives me?
>
> $ curl --remote-name --remote-header-name https://download.toolslib.net/download/file/1/2697?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
> -o -
The -o there un-does the --remote-name and is giving an error message; drop
it. --remote-header-name will use the file name provided by the server in an
HTTP header. However, I don't see such a header in that URL, and that URL
actually doesn't look like it points to any kind of download, so it's probably
not the one you want.
> Also, how do I get/find the
>
> ?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
>
> from
>
> https://toolslib.net/downloads/viewdownload/1-adwcleaner/files/2697/
Use an HTML parser.
Dan
Date: Mon, 24 Jul 2023 13:32:03 -0700
On Mon, Jul 24, 2023 at 01:25:28PM -0700, ToddAndMargo via curl-users wrote:
> I am not sure what that gives me?
>
> $ curl --remote-name --remote-header-name https://download.toolslib.net/download/file/1/2697?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
> -o -
The -o there un-does the --remote-name and is giving an error message; drop
it. --remote-header-name will use the file name provided by the server in an
HTTP header. However, I don't see such a header in that URL, and that URL
actually doesn't look like it points to any kind of download, so it's probably
not the one you want.
> Also, how do I get/find the
>
> ?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
>
> from
>
> https://toolslib.net/downloads/viewdownload/1-adwcleaner/files/2697/
Use an HTML parser.
Dan
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-07-24