Hello:
I've just added a public share capability to the CLI functionality, so that we can send data to non-user accounts from other programs and track when they are picked up. I have attached a replacement cliFilelocker.py.
I am NOT an expert python programmer, so feel free to clean up my code. I'm sure there is a better way to write it, but I have tested it and it works.
Additional command line arguments added:
-e NOTIFYEMAILS, --emails=NOTIFYEMAILS
E-mails to notify for a public share (comma separated list).
-x EXPIRATION, --expiration=EXPIRATION
Expiration date (mm/dd/yyyy) for a public share.
-n MESSAGE, --notifymessage=MESSAGE
E-Mail message for a public share.
Note that it only allows for a "single" shareType as of now since I could not figure out how to pass the "password" field in the json. That is all we really need, but this is something that could be added in the future if anyone is interested and assists. ;-)
I will have a look at this.