this post was submitted on 13 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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.

top 1 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 year ago

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