Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on alien.top
main·Self-Hosted Mainbymirvine2387

Looking for File Downloader script with version control

Hi all,

I am trying to find if there are any scripts that can be used to upload files, download with direct link, download with latest tag and have basic access control.

Goal is the have a copy of all software that we use to deploy software to clients via script. This script will always call for the latest file via the default link. We will upload the files to the site. I know we can just create the new file with the same name and call it a day. My goal is to have a running archive of the previous versions just in case there is an issue with the latest software. My install script has an argument to select the version number if needed.

Most of my files are single executables either in msi or exe form. ill have zipped anything that has multiple files.

Example:

/softwareA/latest
/softwareA/v1.0.0.1
/softwareA/v1.0.1

/softwareB/latest
/softwareB/v2.0
/softwareB/v3.0.1

Currently we have to updated the script with the latest URL link.

View original on alien.top
2

1 reply

How about just learning to do it yourself with your current script? It's not that hard and a great lesson into scripting.

2

You reached the end

Looking for File Downloader script with version control | Spyke