I have a webserver hosting a few small programs and would like to create a script that I can run from my client and download a program from the webserver. I know I can do this via ftp but I don't want to expose the server credentials as others may use the script to grab the latest build of a program from my server.
What is the best approach? It needs to be a script because users won't or don't need to access the webserver.