send-email
Send a file securely to an email address.
Syntax:
shell
sfiler [options] send-email [Command options] <filename>
Command Options | Required/Optional | Description |
---|---|---|
-r | Required | Comma separated list of email addresses to which the files will be sent. |
-tc | Optional | Time to live count. Set to determine how many times the file can be download. Default: 0 |
-td | Optional | Set an absolute expiration date. After this date, the file cannot be downloaded, it will be deleted. (ex: 2011-12-31) |
-th | Optional | Set a relative expiration date. The hours file will expire in X hours from now. (ex: 2) |
-wp | Optional | Password to protect the files. You must communicate this password to recipients so they can download the files. |
-x | Optional | Message to be appended to the email notice. |
note
If path not included in filename, Current path will be assumed.
Example:
shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ send-email -r "msmith@mycompany.com,jjohnson@thatbusiness.com" -wp "d7$hp#1" -x "the file you have requested, I will tell you the password by phone" "my-file.txt"