blob: 919aaa0c410e2ac17540330884ec4de70a308982 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# send
I refuse to use WeTransfer or FileMail or any of that stuff.
The idea of using a third party service to do something so stupidly simple as to transfer files is insulting.
And, because nobody I work with is going to set up an FTP server for me to drop files into,
and managing an FTP server with a bunch of different accounts for each client to download from sounds like a hassle,
I did this instead.
A quick weekend project.
## Usage
Slight warning, this is not finished polished software.
There is no settings menu.
This is customized by changing the bash script.
If you're ok with that, then have at it!
Everything you need is in `send-refresh.sh`.
Put this on your server.
Change the html parts to suit your website, and change the bash file to suit your server.
Once that's done, you can make it run every 5 or 10 minutes using `crontab`.
It wouldn't be hard to add email notifications about anything that happens in the script using `mail`, either, if you want.
Go to town! :)
For you, as the admin, all you need to do is use your favorite file transfer protocol to put a .zip file in the chosen directory, and let the server do it's thing.
|