Utserver config file




















OldPike - Command-Line for this config file:. They'll be recreated upon startup. Port for HTTP interface. Directory in which currently downloaded data is saved.

If true, UPNP functionality for mapping ports is used by utserver. If true, Local Service Discovery is enabled. If true, Distributed Hash Table extension is enabled. If true, Peer Exchange extension is enabled. Maximum number of connections for a given torrent. Link to comment Share on other sites More sharing options Posted November 21, A comprehensive version.

Posted September 17, I'm a noob to this, but I'm just wondering: All the commands in the. DreadWingKnight Posted September 17, DreadWingKnight Posted September 18, Posted September 18, Posted November 16, Here it is: utserver. Compiled by Rich. Environment When the utserver process creates files intended for end users, such as torrent data files, it uses the value of the file mode creation mask to specify access to these files.

For more information, run man umask on a Linux command line. The value of the file mode creation mask is not considered when creating files not intended for use by users, such as settings files. Ensure the locale used by the utserver process supports your preferred character set or that of your users. Choose a locale that supports UTF-8 or other character set that is more likely to support the torrents created by the international community of BitTorrent users.

Set the LANG environment variable to your choice of locale, and ensure your desired locale is supported on the computer running utserver. If not provided, a default IP address will be used. We do not recommend changing this value. Can be an absolute path or a relative path. It is recommended that this directory be hidden from users i. This value must represent a path that is accessible to users e.

The value must represent a path that is accessible to users e. This option can be specified multiple times in the file - once for each directory to be designated as such. The index of each entry will be in order in which each entry appears in utserver. The value of this setting will be applied every time the utserver process starts or the configuration file is reloaded.

The utserver process creates temporary files with a. There is an unofficial WebUI, which is much better alternative to official release. I may include an option to install it in future updates. Skip to content. Star 2. Branches Tags. Could not load branches. If the. Default value: true. If false, the. Default value: ". Directory in which currently downloaded data is saved. Can be an absolute path or a relative path.

If it is a relative path, the. It is recommended that this directory be. Default value: "". Directory where completed downloads are stored. This value must. Optional directory where completed downloads can be. If no value is specified for this.

The value must represent a. This option can be specified multiple times in the file - once for each. This option can be used when adding. Use the action list-dirs to obtain a list of download directories from the. The index of each entry will be in order in which each entry.

The value of this setting will be applied every time the utserver process. Directory where torrent files are stored. If the empty. It is recommended that this.

Directory where temporary files are stored. The utserver process. This setting applies only. The value should specify a directory, not a symbolic link. Directory where torrent files will be recognized and.

If the empty string, auto-load is disabled. Default value: false. If true, torrent files in the autoload directory will. Directory where maintenance request files will be. If the empty string, maintenance request. Software running on the server can create the following files in this. If the file c. If the file wipl. These maintenance operations provide a way to help a user who has either.

If the file rcf. If you always use this method to. The server will also reload the configuration file if you send a hangup. You should either only use the file system interface for requesting. If the file sp. This can be useful for. Ensure the access permissions for this directory permit only appropriate.

The server creates a new process group for the command, so that the server does not need to wait for it, and so the kernel process table does not fill up with zombie processes. The command is run as the same user that runs the server process. Once settings.

For other settings, the server will load the values from the configuration file every time the program starts or receives a request to reload the configuration file. The settings for which the values are always applied from the configuration file when the file is read by the server include:. The API is stable and largely complete. Missing functionality will be added over time and compatibility with existing applications will generally be preserved, so little to no work will be needed to keep your web app working with future versions of the applications.

These projects form a rich ecosystem and vibrant community. Partners should consider the relative merits of enabling this community to extend their platforms through the Web API. Current projects and discussion can be accessed in the Web API section of the developer forums at forum. The data returned by calls is in the JSON format. Authentication is done with basic HTTP authentication. The guest account, disabled by default, is limited to a subset of the calls Action calls that modify torrent state and application and torrent settings are disallowed.

The first parameter should always be the command e. Most action commands require a hash to be passed. This is the infohash of the torrent, obtained from listing all torrents.

Some commands accept multiple infohashes chained together, e. All developers creating applications that use the WebUI backend MUST implement support for this system, as the application will otherwise fail if the user has webui. The base parameter for settings is?

Using this parameter by itself will give a list of settings in the following format:. They are not listed here, as some of the settings particularly advanced ones vary with each version and most are self-explanatory. However, a near-complete list for 1. Here are the possible values:. Settings that are neither readable nor writable won't be included in the list of settings generated by the getsettings action. This will return the torrents in the following fashion:.

In this situation, six new dictionary keys replace "torrents" , "rssfeeds" and "rssfilters" and the returned JSON will look as follows:. The "torrentp" array contains a list of torrent jobs that have changed since the corresponding CACHE ID and is identical to the "torrents" array in format.

Similarly the "rssfeedp" and "rssfilterp" arrays correspond to the "rssfeeds" and "resfilters" arrays respectively. Each newline is represented by a carriage return followed by a newline. The following is a list of the possible values and what each corresponds to:. A value of 0 zero means no minimum seeding time. This section contains a list of all the other possible actions supported by the API. Multiple hashes may be specified to act on multiple torrent jobs. This action respects the option "Move to trash if possible".

The possible priority levels are the values returned by "getfiles". A file is specified using the zero-based index of the file in the inside the list returned by "getfiles".

Only one priority level may be specified on each call to this action, but multiple files may be specified. This action either logs out the connection's session for any authenticated user , or, if the session parameter is specified one or more times, logs out the specified session s if and only if the connection is authenticated as an administrative user. The string must be URL-encoded. The integer refers to the list of download dirs the client has configured see list-dirs action.

The list of available download directories must be created in the utserver. On PC systems the directories can be created by users via the application, but not via the web UI.



0コメント

  • 1000 / 1000