add-community
Adds a new community or share.
Syntax:
shell
sfiler-admin [options] add-community [command options]| Command options | Required/Optional | Description |
|---|---|---|
| -n | Required | Name (ex: Accounting and Billing) |
| -c | Optional | Compression Level: 1 (NONE), 2 (ZIP). Default: 1 |
| -cq | Optional | Community quota in Mo. |
| -d | Optional | True or False: Set to true to display files that are partially uploaded or still being processed by extensions. Default: true |
| -del | Optional | True or False: Set to true to delete the community when it becomes empty. Default: False |
| -exp | Optional | Community expiration date. Use this format : YYYY-MM-DD (ex: 2014-12-31) |
| -f | Optional | Description (ex: Exchange between accounting and billing) |
| -fq | Optional | Maximum file size in Mo. |
| -mv | Optional | True or False: Set to true to keep multiple versions of the files in this community. Uploading a file with the same name will create a new version of the file. Default: false |
| -nd | Optional | True or False: Set to true to enable mail notification when a file is deleted in the community. Default: false |
| -nr | Optional | True or False: Set to true to enable mail notification when a file is received (downloaded) by a recipient. Default: false |
| -nu | Optional | True or False: Set to true to enable mail notification when a file is uploaded in the community. Default: false |
| -oci | Optional | Overrides the community inactivity period of the global configuration for this community, in days. Use a positive integer, or -1 for unlimited. |
| -ofi | Optional | Overrides the file inactivity period of the global configuration for this community, in days. Use a positive integer, or -1 for unlimited. The value cannot exceed the maximum file inactivity period configured on the server. |
| -s | Optional | Security Level (encryption): 1 (NONE), 2 (DES), 3 (2DES), 4 (3DES), 5 (AES-256). Default: 5 |
| -sync | Optional | True or False: Set to true to allow the community to be synced using the Desktop synchronization client. Default: False |
| -tc | Optional | Number of times that files can be downloaded by default in this community |
| -td | Optional | Number of days to retain files by default in this community. |
| -th | Optional | Number of hours to retain files by default in this community. |
| -u | Optional | True or False: Set to true to allow uploading files to only a subset of community members in this community. Default: true |
Example:
shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ add-community -n "my-community" -f "My community description"shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ add-community -n "my-community" -f "My community description"