Highlighted
Posted by KDV
Henagon

download Custom Quick Support Module from script and recognize it as new version

I want to automate the distribution of the latest version of our Custom Quick Support Module.
When I open "https://get.teamviewer.com/OurCustomQSName" with any browser, the download starts immediately.
In my script I use curl. The download from the original URL does not work.
Which parameters do I have to specify to get the current version in my language?

I found that I can use the URL "https://customdesign.teamviewer.com/download/version_14x/ourqssupportid/TeamViewerQS.exe" and have to specify a UserAgent, e.g. "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" to get version 14.x.
I would like to have the script working with the next version without change.

After the download I want to check the version number of the downloaded file to make sure it is a newer version before making the new file available.

2 Replies
2 Replies
Posted by mkennard
Henagon

Re: download Custom Quick Support Module from script and recognize it as new version

Have you had any replies? I'm wanting to do the same. Seems to redirect then expire the link.

Posted by KDV
Henagon

Re: download Custom Quick Support Module from script and recognize it as new version

Unfortunately I had no replies.

My downlaod works when I use
curl
-h "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
- f
-s
https://customdesign.teamviewer.com/download/version_14x/id_of_our_/TeamViewerQS.exe
-o TeamViewerQS.exe

but only if I tried the download whithin a browser a short time before.