send-recipients
Send a file only to some recipients of a community.
Syntax:
shell
sfiler [options] send-recipients [command options] <filename>
Command Options | Required/Optional | Description |
---|---|---|
-c | Required | The community from which the name recipients are selected. You can get the community names by listing the root. |
-m | Optional | The default domain name for recipients. Recipients can use the @domain notation to override this setting. |
-r | Required | List of user Comma separated list of usernames names which will receive the file. These users must be members of the community. |
-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 file will expire in X hours from now. (ex: 2). |
-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-recipients -c "/MyCommunity" -r "msmith@okiok.com,jsmith@okiok.com" "my-file.txt"