server_filesharing: File Sharing
The server_filesharing
utility is used for configuring file sharing
functionality in Plesk. File sharing allows the administrator and Plesk
users to share files with each other or anyone on the Internet. Note
that file sharing is unavailable on customer subscriptions.
Usage
server_filesharing <command>
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
Example
The following command allows users to publish files on the Web and
specifies the pubfiles
subfolder for storing their public files:
plesk bin server_filesharing --update -fsPublicFolderEnabled true -fsPublicFolder pubfiles
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--update or -u
|
Updates file sharing settings. |
To set the root folder ( plesk bin server_filesharing --update -fsPrefix shfiles |
|
--info or -i |
Displays current file sharing settings. |
To view current file sharing settings: plesk bin server_filesharing --info |
|
--help or -h
|
Displays help on the use of the utility. |
To view a help page for the utility: plesk bin server_filesharing --help |
Options
Option | Parameter | Description | Example |
---|---|---|---|
-fsDomain |
<value> |
Specifies the domain for storing all shared files. |
To set the domain ( plesk bin server_filesharing --update -fsDomain test.tst |
-fsPrefix |
<value> |
Specifies the root folder. Web Folders with personal, shared and public files will be created inside this folder. |
To set the root folder ( plesk bin server_filesharing --update -fsPrefix shfiles |
-fsLinksAsHttps |
true|false |
Enables secure links to files and folders. If true , all
links will be accessible through HTTPS. |
To enable HTTPS links to shared files and folders: plesk bin server_filesharing --update -fsLinksAsHttps true |
-fsPublicFolderEnabled |
true|false |
Allows users to publish files on the Web for public access to them. |
To allow users publishing their files on the Web: plesk bin server_filesharing --update -fsPublicFolderEnabled true |
-fsPublicFolder |
<value> |
Specifies the folder for storing public files. Only authorized Plesk users can access this folder and edit the files there. |
To set the public files folder ( plesk bin server_filesharing --update -fsPublicFolder pubfiles |
-fsPublicUrl |
<value> |
Specifies the URL that website visitors should use for read-only access to public files. This URL should be the name of your subscription. |
To set the URL ( plesk bin server_filesharing --update -fsPublicUrl test.tst |
-fsPartnerFolderEnabled |
true|false |
If true , Plesk creates password protected folder where
users can put their files. |
To allow users put their files in the password protected folder: plesk bin server_filesharing --update -fsPartnerFolderEnabled true |
-fsPartnerFolder |
<value> |
Specifies the name for the password protected folder. |
To set the password protected folder ( plesk bin server_filesharing --update -fsPartnerFolder protected |
-fsPartnersLogin |
<value> |
Specifies the username for access to the password protected folder. |
To set the username ( plesk bin server_filesharing --update -fsPartnersLogin user1 |
-fsPartnersPassword |
<value> |
Specifies the password for access to the password protected folder.. |
To set the password ( plesk bin server_filesharing --update -fsPartnersPassword passwd |