Direct fixed link to latest download

Hi all,

I was wondering if there is a direct fixed download link to te latest download so i can automate some steps in windows.

Thanks in advance,

Thijs.

Check whether

[1] http://download.documentfoundation.org/libreoffice/stable/ or
[2] LibreOffice Download - Archive

fits your needs

1 Like

unfortunatly not, becasue the links changes. i need sothing like:
https://libreoffice.com/downloads/latest/Libreoffice.msi

It’s not a wizard’s hack to get the latest version programmatically from a list of available versions (but I’m on Linux)

url=http://download.documentfoundation.org/libreoffice/stable/
wget --quiet -O - ${url} 2>&1               \
  | awk -F "=" '/href="[0-9]/ { print $3 }' \
  | sed 's/\/.*//;s/"//g;s/\./ /g'          \
  | sort -n                                 \
  | sed 's/ /\./g'

delivers:

7.0.6
7.1.5
7.2.0
1 Like

I have to confess that i’m not good with code at all, and i would like to do it in command prompt if possible, i’ve tried to use wildcards for version numbers but it doesn’t allow it
example: bitsadmin /transfer myDownloadJob /download /priority normal “https://downloadarchive.documentfoundation.org/libreoffice/old/latest/win/x86_64/LibreOffice_..._Win_x64.msi” location/Libre.msi