[pve-devel] [PATCH v6 manager 1/7] api: nodes: add query_url_metadata method
Dominic Jäger
d.jaeger at proxmox.com
Fri Jun 11 09:27:44 CEST 2021
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 at proxmox.com>
More information about the pve-devel
mailing list