server_filesharing.exe: 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.exe <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:
server_filesharing.exe --update -fsPublicFolderEnabled true -fsPublicFolder pubfiles
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Updates file sharing settings. |
To set the root folder ( server_filesharing.exe --update -fsPrefix shfiles |
|
|
Displays current file sharing settings. |
To view current file sharing settings: server_filesharing.exe --info |
|
|
Displays help on the use of the utility. |
To view a help page for the utility: server_filesharing.exe --help |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Specifies the domain for storing all shared files. |
To set the domain ( server_filesharing.exe --update -fsDomain test.tst |
|
|
Specifies the root folder. Web Folders with personal, shared and public files will be created inside this folder. |
To set the root folder ( server_filesharing.exe --update -fsPrefix shfiles |
|
|
Enables secure links to files and folders. If |
To enable HTTPS links to shared files and folders: server_filesharing.exe --update -fsLinksAsHttps true |
|
|
Allows users to publish files on the Web for public access to them. |
To allow users publishing their files on the Web: server_filesharing.exe --update -fsPublicFolderEnabled true |
|
|
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 ( server_filesharing.exe --update -fsPublicFolder pubfiles |
|
|
Specifies the URL that website visitors should use for read-only access to public files. This URL should be the name of your webspace. |
To set the URL ( server_filesharing.exe --update -fsPublicUrl test.tst |
|
|
If |
To allow users put their files in the password protected folder: server_filesharing.exe --update -fsPartnerFolderEnabled true |
|
|
Specifies the name for the password protected folder. |
To set the password protected folder ( server_filesharing.exe --update -fsPartnerFolder protected |
|
|
Specifies the username for access to the password protected folder. |
To set the username ( server_filesharing.exe --update -fsPartnersLogin user1 |
|
|
Specifies the password for access to the password protected folder.. |
To set the password ( server_filesharing.exe --update -fsPartnersPassword passwd |