From: "Dominic Jäger" <d.jaeger@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH v6 manager 1/7] api: nodes: add query_url_metadata method
Date: Fri, 11 Jun 2021 09:27:44 +0200 [thread overview]
Message-ID: <20210611072744.GA61335@mala.proxmox.com> (raw)
In-Reply-To: <20210517080318.51405-2-l.stechauner@proxmox.com>
On Mon, May 17, 2021 at 10:03:12AM +0200, Lorenz Stechauner wrote:
> +
> + my $size = $res->header("Content-Length");
> + my $disposition = $res->header("Content-Disposition");
When I use the Proxmox VE 6.4 image from the website
> pvesh get nodes/dev/query-url-metadata --url https://www.proxmox.com/en/downloads\?task\=callelement\&format\=raw\&item_id\=589\&element\=f85c494b-2b32-4109-b8c1-083cca2b7db6\&method\=download\&args\[0\]\=b9d30b3515e7a12dff5619ff1e1843be
then I get as filename
> "proxmox-ve_6.4-1.iso"; modification-date="Tue, 27 Apr 2021 15:25:15 +0200"; size=928993280;
and it gets directly into the GUI like that.
It did work for a Debian image.
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-10.9.0-amd64-DVD-1.iso
Tested-by: Dominic Jäger <d.jaeger@proxmox.com>
next prev parent reply other threads:[~2021-06-11 7:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 8:03 [pve-devel] [PATCH-SERIES v6 manager/common/storage] fix #1710: add download from url button Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 manager 1/7] api: nodes: add query_url_metadata method Lorenz Stechauner
2021-06-11 7:27 ` Dominic Jäger [this message]
2021-05-17 8:03 ` [pve-devel] [PATCH v6 common 2/7] tools: add download_file_from_url Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 manager 3/7] api: nodes: refactor aplinfo to use common download function Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 storage 4/7] status: add download_url method Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 manager 5/7] ui: add HashAlgorithmSelector Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 manager 6/7] ui: Utils: change download task format Lorenz Stechauner
2021-05-17 8:03 ` [pve-devel] [PATCH v6 manager 7/7] fix #1710: ui: storage: add download from url button Lorenz Stechauner
2021-06-11 7:27 ` Dominic Jäger
2021-06-11 8:30 ` Lorenz Stechauner
2021-06-09 6:50 ` [pve-devel] [PATCH-SERIES v6 manager/common/storage] fix #1710: " Lorenz Stechauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210611072744.GA61335@mala.proxmox.com \
--to=d.jaeger@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal