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. |
-t | Deprecated | Override the notification theme to use. |
Note
If path not included in filename, Current path will be assumed.
Warning
The -t parameter used to identify the theme is always present as an option in the command. However, this option is ignored. The theme applied will be that associated with the group(s) of the user to whom the file is sent. Be sure to remove this parameter from your scripts, as it will be removed from the command in a future version of the solution.
Example:
shell
sfiler -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"
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"