2017-10-18 13:25:34 +02:00
# Can be 'curl' or 'sftp'
uploader = ' curl '
# (S)FTP credentials, only if you want to use SFTP for uploads
2017-10-14 12:03:36 +02:00
sftp_address = ' your_domain.com '
username = ' your_ftp_user '
password = ' your_ftp_password '
2017-10-18 13:25:34 +02:00
# curl parameters, if you're using pyshare_receivere
curl_target = ' your_domain.com:5000 '
curl_user = ' user1 '
curl_password = ' password '
# This should contain a complete curl command with a {} to insert the filename.
# Setting this to anything but None will result in the other curl parameters to be ignored
# Example: 'curl -F"file=@{}" https://0x0.st'
custom_curl_command = None
2017-10-14 12:03:36 +02:00
# This is where the screenshots are saved locally
local_directory = ' /home/kageru/pyshare/ '
2017-10-25 14:22:23 +02:00
2017-10-14 12:03:36 +02:00
# Directory on the ftp server where you want the screenshots to be sent to
remote_directory = ' /usr/share/nginx/html/pyshare/ '
# Template for the link that the script will generate. {} is the filename
2017-10-16 15:37:24 +02:00
url_template = ' https://your_domain.com/pyshare/ {} '
2017-10-25 14:22:23 +02:00
remote_port = 5000
2017-10-14 12:03:36 +02:00
# In case you want a certain prefix for all files. Can also be an empty string
prefix = ' '
# Number of random characters in the filename
length = 5