check if file already exists remotely, and rename it accordingly to prevent overwriting

This commit is contained in:
2018-01-05 09:23:33 +01:00
parent a59c6e4184
commit 4c75729fa5
2 changed files with 32 additions and 16 deletions

View File

@@ -1,5 +1,7 @@
# SSH host and directory to upload file
SSH=user@host.tld:\~/uploads/share
# SSH user@host or HostName
SSH_HOST=user@host.tld
# Absolute path where files shall be stored
SSH_PATH=/home/user/uploads/share
# URL to this directory
URL=http://uploads.host.tld/share