Yet anOther Dummy CTCS 


YODCTCS is a graphical interface for monitoring and managing Enhanced CTorrent clients on OpenWrt . It can manage the global bandwidth and uploaded torrent files, provide status information and start new download by uploading a torrent file or submitting an url. This is achieved by CTCS Protocol, the user interface is a dynamic web page written in Java and compiled into JavaScript with Google Web Toolkit the server is implemented in C. DCTCS is licensed under the GPLv2 or (at your option) any later version.

Feautres of the GUI

  • Upload/Delete torrent files, download torrent file from url
  • Pause/Resume/Stop/(Re)Start downloads
  • Display information of torrents such as
    downloaded/uploaded size, download/upload speed, connected seeders/leechers, ETA
  • Manage global upload/download speed
  • Access functions via hotkeys (underlined letters on buttons/menus) and select all with Ctrl+a deselect all with Ctrl+A, in dialogs enter accepts modification ESC cancels
  • Support for download only selected files (start paused option in new torrent dialog may come in handy note if you are using ctorrent option -a all files will be allocated in advance)
  • Support translations you need to translate the file and save it as for ex: and you can get translated messages by appending ?locale=th to the url for ex:
  • Track wget downloads

You can try it out under the Preview menu (no password or user name required for the demo).

If you have any comment, remark or opinion you can share it here.


simply run /usr/bin/dctcs (after you modified the config file /etc/dctcs.conf) or /etc/init.d/dctcs start (from version 0.5.4).

You can provide options to influence dctcs settings:

dctcs [options]


-t, --torrent-directory <dir> set torrent file upload directory
-d, --download-directory <dir> set download directory
-H, --htmlroot-directory <dir> set html root directory
-c, --config-file <file> set config file to parse
-C, --ctorrent <file> set ctorrent executable path
-e, --exit-hours <int> ctorrent will exit after seeding <int> hours
-E, --exit-ratio <num> ctorrent will exit after seeding to <num> ratio
-U, --user <user> set user name
-P, --password <pass> set password
-h, --client-host <host:port> ctorrent client will use this server
-p, --port <port> set the port on which to listen for connections
-s, --cache-size <int> set the cache size of ctorrent clients
-r, --restart-torrents [0|1] restart ctorrent clients for the uploaded torrent files at startup (after a grace period to be sure running ctorrent clients are contacted) so downloading can resume where it left off
-D, --download-limit <int> set the global download speed limit [KiB/s] 0 turns it off
-u, --upload-limit <int> set the global upload speed lmit [KiB/s] 0 turns it off
--detail-url <url> set the url prepended to file names in the detail dialog
--ctorrent-args <args> set any ctorrent options here or after --
--write-stats [0|1] enable/disable writing of statistical data
-v verbose output use more to get more log messages (-v -v -v to debug)
-i, --check-interval <min> check the torrent-directory every <min> minutes for new torrent which gets started
-W, --wget <file> set wget executable path
--wget-args <args> set any wget options here
--ctorrent-complete <command> command to be run after downloading finished

In the config file long options without "--" can be used, eg:
#set the user name to "me"

You should configure the following options:

set this to the directory you want to put uploaded torrent files

ctorrent will download data to this directory

the desired username and password

It may come useful:

if you set up an ftp server on the router whit this option you can download the files from the details dialog

ctorrent will pre allocate files (reduces fregmentation)

continue getting a partially-downloaded file